feat(ui): add SLIDER_ORIENTATION

This commit is contained in:
fallenoak committed 2025-11-29 22:23:14 -06:00
1 parent 88aeb11698
commit eca8ed6a32
2 files changed
+6

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ class CSimpleSlider : public CSimpleFrame {
float m_value = 0.0f;
float m_valueStep = 0.0f;
CSimpleTexture* m_thumbTexture = nullptr;
SLIDER_ORIENTATION m_orientation = SLIDER_VERTICAL;
ScriptIx m_onValueChanged;
ScriptIx m_onMinMaxChanged;
+5
View File
@@ -88,6 +88,11 @@ enum PLURAL_RULE {
PLURAL_RULE_2 = 2
};
enum SLIDER_ORIENTATION {
SLIDER_HORIZONTAL = 0,
SLIDER_VERTICAL = 1,
};
enum TextureImageMode {
ImageMode_UI = 0,
ImageMode_Desaturate = 1