Two updates that sort of went in tandem.

Updated the Client tag options so that you can turn off tags/colors for others.

However, in the process of doing this the need for Client-Or-Account setting control became increasingly needed, and so a complete rebuild of some sections fetching values were redone across files. The good news is that we now have getCOA* settings for various settings types - Color4, Strings, U/F/S32, and BOOLs. Just include llsavedsettingsglue.h

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-15 00:22:06 -04:00
parent c6b1ba3b84
commit b215b405ea
10 changed files with 278 additions and 244 deletions

View File

@@ -47,6 +47,22 @@ public:
static void setF32(LLUICtrl* ctrl, void* name);
static void setU32(LLUICtrl* ctrl, void* name);
static void setString(LLUICtrl* ctrl, void* name);
//Ascent Client-Or-Account Settings Get
static BOOL getCOABOOL(std::string name);
static S32 getCOAS32(std::string name);
static F32 getCOAF32(std::string name);
static U32 getCOAU32(std::string name);
static std::string getCOAString(std::string name);
static LLColor4 getCOAColor4(std::string name);
//Ascent Client-Or-Account Settings Set
static void setCOABOOL(std::string name, BOOL value);
static void setCOAS32(std::string name, S32 value);
static void setCOAF32(std::string name, F32 value);
static void setCOAU32(std::string name, U32 value);
static void setCOAString(std::string name, std::string value);
static void setCOAColor4(std::string name, LLColor4 value);
};
#endif