mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(ui): improve CSimpleStatusBar
This commit is contained in:
parent
fcc3be490c
commit
ff2a0da254
9 changed files with 75 additions and 4 deletions
|
|
@ -86,3 +86,14 @@ int32_t StringToFrameStrata(const char* string, FRAME_STRATA& strata) {
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
const char* OrientationToString(uint32_t orientation) {
|
||||
switch (orientation) {
|
||||
case 0:
|
||||
return "HORIZONTAL";
|
||||
case 1:
|
||||
return "VERTICAL";
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue