feat(ui): implement type-related CSimpleFontString script methods

This commit is contained in:
VDm 2025-08-16 00:01:44 +04:00
parent a50ca69e8c
commit f0634dded2
8 changed files with 99 additions and 5 deletions

View file

@ -126,3 +126,20 @@ const char* AnchorPointToString(int32_t point) {
return "ANCHOR_NONE";
}
}
const char* DrawLayerToString(int32_t layer) {
switch (layer) {
case 0:
return "BACKGROUND";
case 1:
return "BORDER";
case 2:
return "ARTWORK";
case 3:
return "OVERLAY";
case 4:
return "HIGHLIGHT";
default:
return "UNKNOWN";
}
}