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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llui/llcombobox.h b/linden/indra/llui/llcombobox.h
index d77224a..1589c30 100644
--- a/linden/indra/llui/llcombobox.h
+++ b/linden/indra/llui/llcombobox.h
@@ -88,6 +88,8 @@ public:
88 virtual void clear(); // select nothing 88 virtual void clear(); // select nothing
89 virtual void onCommit(); 89 virtual void onCommit();
90 virtual BOOL acceptsTextInput() const { return mAllowTextEntry; } 90 virtual BOOL acceptsTextInput() const { return mAllowTextEntry; }
91 virtual BOOL isDirty() const; // Returns TRUE if the user has modified this control.
92 virtual void resetDirty(); // Clear dirty state
91 93
92 virtual void setFocus(BOOL b); 94 virtual void setFocus(BOOL b);
93 95
@@ -147,7 +149,7 @@ public:
147 virtual BOOL getCanSelect() const { return TRUE; } 149 virtual BOOL getCanSelect() const { return TRUE; }
148 virtual BOOL selectFirstItem() { return setCurrentByIndex(0); } 150 virtual BOOL selectFirstItem() { return setCurrentByIndex(0); }
149 virtual BOOL selectNthItem( S32 index ) { return setCurrentByIndex(index); } 151 virtual BOOL selectNthItem( S32 index ) { return setCurrentByIndex(index); }
150 virtual S32 getFirstSelectedIndex() { return getCurrentIndex(); } 152 virtual S32 getFirstSelectedIndex() const { return getCurrentIndex(); }
151 virtual BOOL setCurrentByID( const LLUUID& id ); 153 virtual BOOL setCurrentByID( const LLUUID& id );
152 virtual LLUUID getCurrentID(); // LLUUID::null if no items in menu 154 virtual LLUUID getCurrentID(); // LLUUID::null if no items in menu
153 virtual BOOL setSelectedByValue(LLSD value, BOOL selected); 155 virtual BOOL setSelectedByValue(LLSD value, BOOL selected);