diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llviewercontrol.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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.h | 34 |
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 @@ | |||
43 | extern BOOL gHackGodmode; | 42 | extern BOOL gHackGodmode; |
44 | #endif | 43 | #endif |
45 | 44 | ||
46 | class LLFloaterSettingsDebug : public LLFloater | ||
47 | { | ||
48 | public: | ||
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 | |||
62 | protected: | ||
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 |
69 | void declare_settings(); | ||
70 | void fixup_settings(); | ||
71 | void settings_setup_listeners(); | 47 | void settings_setup_listeners(); |
72 | 48 | ||
49 | extern std::map<LLString, LLControlGroup*> gSettings; | ||
50 | |||
73 | // for the graphics settings | 51 | // for the graphics settings |
74 | void create_graphics_group(LLControlGroup& group); | 52 | void create_graphics_group(LLControlGroup& group); |
75 | 53 | ||
@@ -78,9 +56,6 @@ extern LLControlGroup gSavedSettings; | |||
78 | extern LLControlGroup gSavedPerAccountSettings; | 56 | extern LLControlGroup gSavedPerAccountSettings; |
79 | 57 | ||
80 | // Read-only | 58 | // Read-only |
81 | extern LLControlGroup gViewerArt; | ||
82 | |||
83 | // Read-only | ||
84 | extern LLControlGroup gColors; | 59 | extern LLControlGroup gColors; |
85 | 60 | ||
86 | // Saved at end of session | 61 | // Saved at end of session |
@@ -90,7 +65,4 @@ extern LLControlGroup gCrashSettings; | |||
90 | extern LLString gLastRunVersion; | 65 | extern LLString gLastRunVersion; |
91 | extern LLString gCurrentVersion; | 66 | extern LLString gCurrentVersion; |
92 | 67 | ||
93 | extern LLString gSettingsFileName; | ||
94 | extern LLString gPerAccountSettingsFileName; | ||
95 | |||
96 | #endif // LL_LLVIEWERCONTROL_H | 68 | #endif // LL_LLVIEWERCONTROL_H |