llfloaterenvsettings.h

Go to the documentation of this file.
00001 
00032 /*
00033  * Simple menu for adjusting the atmospheric settings of the world
00034  */
00035 
00036 #ifndef LL_LLFLOATERENVSETTINGS_H
00037 #define LL_LLFLOATERENVSETTINGS_H
00038 
00039 #include "llfloater.h"
00040 
00041 
00043 class LLFloaterEnvSettings : public LLFloater
00044 {
00045 public:
00046 
00047         LLFloaterEnvSettings();
00048         virtual ~LLFloaterEnvSettings();
00049         
00051         void initCallbacks(void);
00052 
00054         static LLFloaterEnvSettings* instance();
00055         
00057         static void onClickHelp(void* data);
00058         
00060         static void onChangeDayTime(LLUICtrl* ctrl, void* userData);
00061 
00063         static void onChangeCloudCoverage(LLUICtrl* ctrl, void* userData);
00064 
00066         static void onChangeWaterFogDensity(LLUICtrl* ctrl, void* userData);
00067 
00069         static void onChangeUnderWaterFogMod(LLUICtrl* ctrl, void* userData);
00070 
00072         static void onChangeWaterColor(LLUICtrl* ctrl, void* userData);
00073 
00075         static void onOpenAdvancedSky(void* userData);
00076 
00078         static void onOpenAdvancedWater(void* userData);
00079 
00081         static void onUseEstateTime(void* userData);
00082 
00084 
00086         static void show();
00087 
00089         static bool isOpen();
00090 
00092         virtual void onClose(bool app_quitting);
00093 
00095         void syncMenu();
00096 
00098         LLString timeToString(F32 curTime);
00099 
00100 private:
00101         // one instance on the inside
00102         static LLFloaterEnvSettings* sEnvSettings;
00103 };
00104 
00105 
00106 #endif

Generated on Fri May 16 08:33:26 2008 for SecondLife by  doxygen 1.5.5