aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llcombobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llcombobox.h')
-rw-r--r--linden/indra/llui/llcombobox.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/linden/indra/llui/llcombobox.h b/linden/indra/llui/llcombobox.h
index f9ca4d2..b35d078 100644
--- a/linden/indra/llui/llcombobox.h
+++ b/linden/indra/llui/llcombobox.h
@@ -73,8 +73,7 @@ public:
73 virtual ~LLComboBox(); 73 virtual ~LLComboBox();
74 74
75 // LLView interface 75 // LLView interface
76 virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_COMBO_BOX; } 76
77 virtual LLString getWidgetTag() const { return LL_COMBO_BOX_TAG; }
78 virtual LLXMLNodePtr getXML(bool save_children = true) const; 77 virtual LLXMLNodePtr getXML(bool save_children = true) const;
79 static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory); 78 static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory);
80 79
@@ -85,8 +84,8 @@ public:
85 virtual void setEnabled(BOOL enabled); 84 virtual void setEnabled(BOOL enabled);
86 85
87 virtual BOOL handleToolTip(S32 x, S32 y, LLString& msg, LLRect* sticky_rect); 86 virtual BOOL handleToolTip(S32 x, S32 y, LLString& msg, LLRect* sticky_rect);
88 virtual BOOL handleKeyHere(KEY key, MASK mask, BOOL called_from_parent); 87 virtual BOOL handleKeyHere(KEY key, MASK mask);
89 virtual BOOL handleUnicodeCharHere(llwchar uni_char, BOOL called_from_parent); 88 virtual BOOL handleUnicodeCharHere(llwchar uni_char);
90 89
91 // LLUICtrl interface 90 // LLUICtrl interface
92 virtual void clear(); // select nothing 91 virtual void clear(); // select nothing
@@ -187,9 +186,8 @@ public:
187protected: 186protected:
188 LLButton* mButton; 187 LLButton* mButton;
189 LLScrollListCtrl* mList; 188 LLScrollListCtrl* mList;
190 LLViewBorder* mBorder;
191 EPreferredPosition mListPosition; 189 EPreferredPosition mListPosition;
192 LLPointer<LLImageGL> mArrowImage; 190 LLPointer<LLUIImage> mArrowImage;
193 191
194private: 192private:
195 S32 mButtonPadding; 193 S32 mButtonPadding;
@@ -211,9 +209,6 @@ public:
211 void (*commit_callback)(LLUICtrl*, void*) = NULL, 209 void (*commit_callback)(LLUICtrl*, void*) = NULL,
212 void *callback_userdata = NULL); 210 void *callback_userdata = NULL);
213 211
214 virtual EWidgetType getWidgetType() const { return WIDGET_TYPE_FLYOUT_BUTTON; }
215 virtual LLString getWidgetTag() const { return LL_FLYOUT_BUTTON_TAG; }
216
217 virtual void updateLayout(); 212 virtual void updateLayout();
218 virtual void draw(); 213 virtual void draw();
219 virtual void setEnabled(BOOL enabled); 214 virtual void setEnabled(BOOL enabled);
@@ -230,6 +225,8 @@ protected:
230 LLPointer<LLUIImage> mExpanderButtonImage; 225 LLPointer<LLUIImage> mExpanderButtonImage;
231 LLPointer<LLUIImage> mActionButtonImageSelected; 226 LLPointer<LLUIImage> mActionButtonImageSelected;
232 LLPointer<LLUIImage> mExpanderButtonImageSelected; 227 LLPointer<LLUIImage> mExpanderButtonImageSelected;
228 LLPointer<LLUIImage> mActionButtonImageDisabled;
229 LLPointer<LLUIImage> mExpanderButtonImageDisabled;
233 BOOL mToggleState; 230 BOOL mToggleState;
234}; 231};
235 232