From 8a5b11f0c3d2c8f539eb2d779be439e33222e89b Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Mon, 4 Jan 2010 21:30:03 -0600 Subject: Added LLFloater::setTitleArg and LLFloater::setShortTitleArg. This allows doing "[ARG]" replacement in floater titles. --- linden/indra/llui/llfloater.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'linden/indra/llui/llfloater.h') 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: std::string getTitle(); void setShortTitle( const std::string& short_title ); std::string getShortTitle(); + BOOL setTitleArg( const std::string& key, const LLStringExplicit& text ); + BOOL setShortTitleArg( const std::string& key, const LLStringExplicit& text ); void setTitleVisible(bool visible); virtual void setMinimized(BOOL b); void moveResizeHandlesToFront(); @@ -276,8 +278,8 @@ private: BOOL mMinimized; BOOL mForeground; LLHandle mDependeeHandle; - std::string mTitle; - std::string mShortTitle; + LLUIString mTitle; + LLUIString mShortTitle; BOOL mFirstLook; // TRUE if the _next_ time this floater is visible will be the first time in the session that it is visible. -- cgit v1.1