mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): add SLIDER_ORIENTATION
This commit is contained in:
parent
88aeb11698
commit
eca8ed6a32
@ -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;
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user