aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwlparammanager.h
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-10 21:43:11 -0700
committerMcCabe Maxsted2009-09-10 21:43:11 -0700
commitf332eaa4a69a4546e0b9b2ba3719e3c038731fd3 (patch)
tree69a2c79196b7a7cffa49b861329e65b2c5ba7ddf /linden/indra/newview/llwlparammanager.h
parentAdmin options now only show for other people's profiles (diff)
downloadmeta-impy-f332eaa4a69a4546e0b9b2ba3719e3c038731fd3.zip
meta-impy-f332eaa4a69a4546e0b9b2ba3719e3c038731fd3.tar.gz
meta-impy-f332eaa4a69a4546e0b9b2ba3719e3c038731fd3.tar.bz2
meta-impy-f332eaa4a69a4546e0b9b2ba3719e3c038731fd3.tar.xz
Created new toolbar control for windlight presets and options
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llwlparammanager.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/newview/llwlparammanager.h b/linden/indra/newview/llwlparammanager.h
index 1d9291c..9895e91 100644
--- a/linden/indra/newview/llwlparammanager.h
+++ b/linden/indra/newview/llwlparammanager.h
@@ -40,6 +40,13 @@
40#include "llviewercamera.h" 40#include "llviewercamera.h"
41 41
42class LLGLSLShader; 42class LLGLSLShader;
43
44class LLWLPresetsObserver
45{
46public:
47 virtual ~LLWLPresetsObserver() { };
48 virtual void changed() = 0;
49};
43 50
44// color control 51// color control
45struct WLColorControl { 52struct WLColorControl {
@@ -195,6 +202,11 @@ public:
195 // singleton pattern implementation 202 // singleton pattern implementation
196 static LLWLParamManager * instance(); 203 static LLWLParamManager * instance();
197 204
205 // manage observers
206 static void addObserver(LLWLPresetsObserver* observer);
207 static void removeObserver(LLWLPresetsObserver* observer);
208 static void notifyObservers();
209
198public: 210public:
199 211
200 // helper variables 212 // helper variables
@@ -255,6 +267,8 @@ public:
255private: 267private:
256 // our parameter manager singleton instance 268 // our parameter manager singleton instance
257 static LLWLParamManager * sInstance; 269 static LLWLParamManager * sInstance;
270
271 static std::vector<LLWLPresetsObserver*> sObservers;
258 272
259}; 273};
260 274