aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llcombobox.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/llui/llcombobox.h
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
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);