diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/llcheckboxctrl.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llcheckboxctrl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llui/llcheckboxctrl.h b/linden/indra/llui/llcheckboxctrl.h index 6518272..659ba82 100644 --- a/linden/indra/llui/llcheckboxctrl.h +++ b/linden/indra/llui/llcheckboxctrl.h | |||
@@ -65,13 +65,13 @@ class LLCheckBoxCtrl | |||
65 | : public LLUICtrl | 65 | : public LLUICtrl |
66 | { | 66 | { |
67 | public: | 67 | public: |
68 | LLCheckBoxCtrl(const LLString& name, const LLRect& rect, const LLString& label, | 68 | LLCheckBoxCtrl(const std::string& name, const LLRect& rect, const std::string& label, |
69 | const LLFontGL* font = NULL, | 69 | const LLFontGL* font = NULL, |
70 | void (*commit_callback)(LLUICtrl*, void*) = NULL, | 70 | void (*commit_callback)(LLUICtrl*, void*) = NULL, |
71 | void* callback_userdata = NULL, | 71 | void* callback_userdata = NULL, |
72 | BOOL initial_value = FALSE, | 72 | BOOL initial_value = FALSE, |
73 | BOOL use_radio_style = FALSE, // if true, draw radio button style icons | 73 | BOOL use_radio_style = FALSE, // if true, draw radio button style icons |
74 | const LLString& control_which = LLString::null); | 74 | const std::string& control_which = LLStringUtil::null); |
75 | virtual ~LLCheckBoxCtrl(); | 75 | virtual ~LLCheckBoxCtrl(); |
76 | 76 | ||
77 | // LLView interface | 77 | // LLView interface |
@@ -93,7 +93,7 @@ public: | |||
93 | virtual void setTentative(BOOL b) { mButton->setTentative(b); } | 93 | virtual void setTentative(BOOL b) { mButton->setTentative(b); } |
94 | virtual BOOL getTentative() const { return mButton->getTentative(); } | 94 | virtual BOOL getTentative() const { return mButton->getTentative(); } |
95 | 95 | ||
96 | virtual BOOL setLabelArg( const LLString& key, const LLStringExplicit& text ); | 96 | virtual BOOL setLabelArg( const std::string& key, const LLStringExplicit& text ); |
97 | 97 | ||
98 | virtual void clear(); | 98 | virtual void clear(); |
99 | virtual void onCommit(); | 99 | virtual void onCommit(); |
@@ -105,10 +105,10 @@ public: | |||
105 | void setDisabledColor( const LLColor4 &color ) { mTextDisabledColor = color; } | 105 | void setDisabledColor( const LLColor4 &color ) { mTextDisabledColor = color; } |
106 | 106 | ||
107 | void setLabel( const LLStringExplicit& label ); | 107 | void setLabel( const LLStringExplicit& label ); |
108 | LLString getLabel() const; | 108 | std::string getLabel() const; |
109 | 109 | ||
110 | virtual void setControlName(const LLString& control_name, LLView* context); | 110 | virtual void setControlName(const std::string& control_name, LLView* context); |
111 | virtual LLString getControlName() const; | 111 | virtual std::string getControlName() const; |
112 | 112 | ||
113 | static void onButtonPress(void *userdata); | 113 | static void onButtonPress(void *userdata); |
114 | 114 | ||