aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llcombobox.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llui/llcombobox.h
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llcombobox.h16
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
187protected: 187protected:
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
194private:
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};