aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewercontrol.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llviewercontrol.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewercontrol.h34
1 files changed, 3 insertions, 31 deletions
diff --git a/linden/indra/newview/llviewercontrol.h b/linden/indra/newview/llviewercontrol.h
index bcea8db..c827f37 100644
--- a/linden/indra/newview/llviewercontrol.h
+++ b/linden/indra/newview/llviewercontrol.h
@@ -32,9 +32,8 @@
32#ifndef LL_LLVIEWERCONTROL_H 32#ifndef LL_LLVIEWERCONTROL_H
33#define LL_LLVIEWERCONTROL_H 33#define LL_LLVIEWERCONTROL_H
34 34
35#include <map>
35#include "llcontrol.h" 36#include "llcontrol.h"
36#include "llfloater.h"
37#include "lltexteditor.h"
38 37
39// Enabled this definition to compile a 'hacked' viewer that 38// Enabled this definition to compile a 'hacked' viewer that
40// allows a hacked godmode to be toggled on and off. 39// allows a hacked godmode to be toggled on and off.
@@ -43,33 +42,12 @@
43extern BOOL gHackGodmode; 42extern BOOL gHackGodmode;
44#endif 43#endif
45 44
46class LLFloaterSettingsDebug : public LLFloater
47{
48public:
49 LLFloaterSettingsDebug();
50 virtual ~LLFloaterSettingsDebug();
51
52 virtual BOOL postBuild();
53 virtual void draw();
54
55 void updateControl(LLControlBase* control);
56
57 static void show(void*);
58 static void onSettingSelect(LLUICtrl* ctrl, void* user_data);
59 static void onCommitSettings(LLUICtrl* ctrl, void* user_data);
60 static void onClickDefault(void* user_data);
61
62protected:
63 static LLFloaterSettingsDebug* sInstance;
64 LLTextEditor* mComment;
65};
66
67// These functions found in llcontroldef.cpp *TODO: clean this up! 45// These functions found in llcontroldef.cpp *TODO: clean this up!
68//setting variables are declared in this function 46//setting variables are declared in this function
69void declare_settings();
70void fixup_settings();
71void settings_setup_listeners(); 47void settings_setup_listeners();
72 48
49extern std::map<LLString, LLControlGroup*> gSettings;
50
73// for the graphics settings 51// for the graphics settings
74void create_graphics_group(LLControlGroup& group); 52void create_graphics_group(LLControlGroup& group);
75 53
@@ -78,9 +56,6 @@ extern LLControlGroup gSavedSettings;
78extern LLControlGroup gSavedPerAccountSettings; 56extern LLControlGroup gSavedPerAccountSettings;
79 57
80// Read-only 58// Read-only
81extern LLControlGroup gViewerArt;
82
83// Read-only
84extern LLControlGroup gColors; 59extern LLControlGroup gColors;
85 60
86// Saved at end of session 61// Saved at end of session
@@ -90,7 +65,4 @@ extern LLControlGroup gCrashSettings;
90extern LLString gLastRunVersion; 65extern LLString gLastRunVersion;
91extern LLString gCurrentVersion; 66extern LLString gCurrentVersion;
92 67
93extern LLString gSettingsFileName;
94extern LLString gPerAccountSettingsFileName;
95
96#endif // LL_LLVIEWERCONTROL_H 68#endif // LL_LLVIEWERCONTROL_H