diff options
author | angela <angela@lindenlab.com> | 2009-11-23 13:52:40 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-11-23 13:52:40 +0800 |
commit | e367e2efc23321d94ec4a4ae0264f885b4f0333b (patch) | |
tree | 473692bba6ba35fccd34f06c51792e6da7027c14 /indra/llui/llsliderctrl.h | |
parent | 67c832d94b53fb5d32ec27eebf7f57b668e899db (diff) |
EXT-2159 Create Vertical Slider to use for zoom in / out controls in view
Diffstat (limited to 'indra/llui/llsliderctrl.h')
-rw-r--r-- | indra/llui/llsliderctrl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llsliderctrl.h b/indra/llui/llsliderctrl.h index 4a1574d502..c425849782 100644 --- a/indra/llui/llsliderctrl.h +++ b/indra/llui/llsliderctrl.h @@ -46,6 +46,7 @@ class LLSliderCtrl : public LLF32UICtrl public: struct Params : public LLInitParam::Block<Params, LLF32UICtrl::Params> { + Optional<std::string> orientation; Optional<S32> label_width; Optional<S32> text_width; Optional<bool> show_text; @@ -78,7 +79,8 @@ public: value_text("value_text"), slider_label("slider_label"), mouse_down_callback("mouse_down_callback"), - mouse_up_callback("mouse_up_callback") + mouse_up_callback("mouse_up_callback"), + orientation("orientation", std::string ("horizontal")) {} }; protected: |