diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llcombobox.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/linden/indra/llui/llcombobox.h b/linden/indra/llui/llcombobox.h index db1c251..f9ca4d2 100644 --- a/linden/indra/llui/llcombobox.h +++ b/linden/indra/llui/llcombobox.h | |||
@@ -159,10 +159,10 @@ public: | |||
159 | virtual BOOL selectItemRange( S32 first, S32 last ); | 159 | virtual BOOL selectItemRange( S32 first, S32 last ); |
160 | virtual S32 getFirstSelectedIndex() const { return getCurrentIndex(); } | 160 | virtual S32 getFirstSelectedIndex() const { return getCurrentIndex(); } |
161 | virtual BOOL setCurrentByID( const LLUUID& id ); | 161 | virtual BOOL setCurrentByID( const LLUUID& id ); |
162 | virtual LLUUID getCurrentID(); // LLUUID::null if no items in menu | 162 | virtual LLUUID getCurrentID() const; // LLUUID::null if no items in menu |
163 | virtual BOOL setSelectedByValue(LLSD value, BOOL selected); | 163 | virtual BOOL setSelectedByValue(const LLSD& value, BOOL selected); |
164 | virtual LLSD getSelectedValue(); | 164 | virtual LLSD getSelectedValue(); |
165 | virtual BOOL isSelected(LLSD value); | 165 | virtual BOOL isSelected(const LLSD& value) const; |
166 | virtual BOOL operateOnSelection(EOperation op); | 166 | virtual BOOL operateOnSelection(EOperation op); |
167 | virtual BOOL operateOnAll(EOperation op); | 167 | virtual BOOL operateOnAll(EOperation op); |
168 | 168 | ||
@@ -183,18 +183,20 @@ public: | |||
183 | void updateSelection(); | 183 | void updateSelection(); |
184 | virtual void showList(); | 184 | virtual void showList(); |
185 | virtual void hideList(); | 185 | virtual void hideList(); |
186 | 186 | ||
187 | protected: | 187 | protected: |
188 | LLButton* mButton; | 188 | LLButton* mButton; |
189 | LLScrollListCtrl* mList; | 189 | LLScrollListCtrl* mList; |
190 | S32 mButtonPadding; | ||
191 | LLViewBorder* mBorder; | 190 | LLViewBorder* mBorder; |
191 | EPreferredPosition mListPosition; | ||
192 | LLPointer<LLImageGL> mArrowImage; | ||
193 | |||
194 | private: | ||
195 | S32 mButtonPadding; | ||
192 | LLLineEditor* mTextEntry; | 196 | LLLineEditor* mTextEntry; |
193 | LLPointer<LLImageGL> mArrowImage; | ||
194 | BOOL mAllowTextEntry; | 197 | BOOL mAllowTextEntry; |
195 | S32 mMaxChars; | 198 | S32 mMaxChars; |
196 | BOOL mTextEntryTentative; | 199 | BOOL mTextEntryTentative; |
197 | EPreferredPosition mListPosition; | ||
198 | void (*mPrearrangeCallback)(LLUICtrl*,void*); | 200 | void (*mPrearrangeCallback)(LLUICtrl*,void*); |
199 | void (*mTextEntryCallback)(LLLineEditor*, void*); | 201 | void (*mTextEntryCallback)(LLLineEditor*, void*); |
200 | }; | 202 | }; |