diff options
author | Jacek Antonelli | 2010-01-04 21:30:03 -0600 |
---|---|---|
committer | Jacek Antonelli | 2010-01-04 21:31:09 -0600 |
commit | 8a5b11f0c3d2c8f539eb2d779be439e33222e89b (patch) | |
tree | 1541c758201b083b3a030fd3aa7e8d6bf81c0faa /linden/indra/llui/llfloater.h | |
parent | ChangeLog entry: Several changes to work better on 64bit Linux. (diff) | |
download | meta-impy-8a5b11f0c3d2c8f539eb2d779be439e33222e89b.zip meta-impy-8a5b11f0c3d2c8f539eb2d779be439e33222e89b.tar.gz meta-impy-8a5b11f0c3d2c8f539eb2d779be439e33222e89b.tar.bz2 meta-impy-8a5b11f0c3d2c8f539eb2d779be439e33222e89b.tar.xz |
Added LLFloater::setTitleArg and LLFloater::setShortTitleArg.
This allows doing "[ARG]" replacement in floater titles.
Diffstat (limited to 'linden/indra/llui/llfloater.h')
-rw-r--r-- | linden/indra/llui/llfloater.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/llui/llfloater.h b/linden/indra/llui/llfloater.h index 0e3d148..4906e85 100644 --- a/linden/indra/llui/llfloater.h +++ b/linden/indra/llui/llfloater.h | |||
@@ -165,6 +165,8 @@ public: | |||
165 | std::string getTitle(); | 165 | std::string getTitle(); |
166 | void setShortTitle( const std::string& short_title ); | 166 | void setShortTitle( const std::string& short_title ); |
167 | std::string getShortTitle(); | 167 | std::string getShortTitle(); |
168 | BOOL setTitleArg( const std::string& key, const LLStringExplicit& text ); | ||
169 | BOOL setShortTitleArg( const std::string& key, const LLStringExplicit& text ); | ||
168 | void setTitleVisible(bool visible); | 170 | void setTitleVisible(bool visible); |
169 | virtual void setMinimized(BOOL b); | 171 | virtual void setMinimized(BOOL b); |
170 | void moveResizeHandlesToFront(); | 172 | void moveResizeHandlesToFront(); |
@@ -276,8 +278,8 @@ private: | |||
276 | BOOL mMinimized; | 278 | BOOL mMinimized; |
277 | BOOL mForeground; | 279 | BOOL mForeground; |
278 | LLHandle<LLFloater> mDependeeHandle; | 280 | LLHandle<LLFloater> mDependeeHandle; |
279 | std::string mTitle; | 281 | LLUIString mTitle; |
280 | std::string mShortTitle; | 282 | LLUIString mShortTitle; |
281 | 283 | ||
282 | BOOL mFirstLook; // TRUE if the _next_ time this floater is visible will be the first time in the session that it is visible. | 284 | BOOL mFirstLook; // TRUE if the _next_ time this floater is visible will be the first time in the session that it is visible. |
283 | 285 | ||