llfloaterhardwaresettings.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLFLOATER_HARDWARE_SETTINGS_H
00033 #define LL_LLFLOATER_HARDWARE_SETTINGS_H
00034 
00035 #include "llfloater.h"
00036 
00037 class LLSliderCtrl;
00038 
00040 class LLFloaterHardwareSettings : public LLFloater
00041 {
00042         friend class LLPreferenceCore;
00043 
00044 public:
00045 
00046         LLFloaterHardwareSettings();
00047         virtual ~LLFloaterHardwareSettings();
00048         
00049         virtual BOOL postBuild();
00050 
00052         void initCallbacks(void);
00053 
00055         static LLFloaterHardwareSettings* instance();
00056         
00058         static void onClickHelp(void* data);
00059 
00061         static void onBtnOK( void* userdata );
00062         
00064 
00066         static void show();
00067 
00069         static bool isOpen();
00070 
00072         virtual void onClose(bool app_quitting);
00073 
00075         void refresh();
00076 
00078         void apply();
00079         
00081         void cancel();
00082 
00084         void refreshEnabledState();
00085 
00086 protected:
00087         LLSliderCtrl*   mCtrlVideoCardMem;
00088 
00089         BOOL mUseVBO;
00090         BOOL mUseAniso;
00091         U32 mFSAASamples;
00092         F32 mGamma;
00093         S32 mVideoCardMem;
00094         F32 mFogRatio;
00095         BOOL mProbeHardwareOnStartup;
00096 
00097 private:
00098         // one instance on the inside
00099         static LLFloaterHardwareSettings* sHardwareSettings;
00100 };
00101 
00102 #endif
00103 

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