diff options
author | Richard Nelson <richard@lindenlab.com> | 2009-10-06 01:25:47 +0000 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2009-10-06 01:25:47 +0000 |
commit | 14d06ebe953da7e50b5c9086eee3f048578438ba (patch) | |
tree | a4f19e9bec6aded07e66c06a5603e5f9d0a81451 /indra/newview/llexpandabletextbox.h | |
parent | e3d9c7d7bfa7722e22df9380baa4f044ac1be80f (diff) |
made "more" link in LLExpandableTextBox localizable
fixed logic for showing/hiding "more" link in LLExpandableTextBox
fixed invisible background on combobox popup list
reviewed by Leyla
Diffstat (limited to 'indra/newview/llexpandabletextbox.h')
-rw-r--r-- | indra/newview/llexpandabletextbox.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/indra/newview/llexpandabletextbox.h b/indra/newview/llexpandabletextbox.h index b78a4dc674..d6401e224f 100644 --- a/indra/newview/llexpandabletextbox.h +++ b/indra/newview/llexpandabletextbox.h @@ -54,6 +54,8 @@ protected: public: struct Params : public LLInitParam::Block<Params, LLTextBox::Params> { + Mandatory<std::string> more_label; + Params(); }; // adds or removes "More" link as needed @@ -76,11 +78,6 @@ protected: */ virtual S32 getHPad() { return mHPad; } - protected: - - LLTextBoxEx(const Params& p); - friend class LLUICtrlFactory; - /** * Shows "More" link */ @@ -91,9 +88,15 @@ protected: */ void hideExpandText(); + protected: + + LLTextBoxEx(const Params& p); + friend class LLUICtrlFactory; + private: + std::string mExpanderLabel; - bool mExpanded; + bool mExpanderVisible; }; public: |