LLPanelDisplay2 Class Reference

#include <llpaneldisplay.h>

Inheritance diagram for LLPanelDisplay2:

Inheritance graph
[legend]
Collaboration diagram for LLPanelDisplay2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelDisplay2 ()
virtual ~LLPanelDisplay2 ()
virtual BOOL postBuild ()
void refresh ()
void apply ()
void cancel ()
void refreshEnabledState ()

Protected Attributes

LLRadioGroupmRadioVideoCardMem
LLRadioGroupmCtrlStereoMode
BOOL mUseVBO
BOOL mUseAniso
F32 mGamma
F32 mBrightness
S32 mVideoCardMem
F32 mFogRatio
S32 mParticleCount
S32 mCompositeLimit
S32 mDebugBeaconLineWidth
S32 mStereoMode
F32 mStereoFocalDistance
F32 mStereoEyeSeparation
BOOL mProbeHardwareOnStartup

Friends

class LLPreferenceCore

Detailed Description

Definition at line 82 of file llpaneldisplay.h.


Constructor & Destructor Documentation

LLPanelDisplay2::LLPanelDisplay2 (  ) 

Definition at line 447 of file llpaneldisplay.cpp.

References LLUICtrlFactory::buildPanel(), and gUICtrlFactory.

LLPanelDisplay2::~LLPanelDisplay2 (  )  [virtual]

Definition at line 486 of file llpaneldisplay.cpp.


Member Function Documentation

void LLPanelDisplay2::apply (  ) 

Definition at line 528 of file llpaneldisplay.cpp.

References LLSD::asInteger(), LLPanel::childGetValue(), LLStartUp::getStartupState(), LLRadioGroup::getValue(), gViewerWindow, mCtrlStereoMode, mStereoMode, refresh(), LLViewerWindow::restartDisplay(), S32, LLImageGL::sGlobalUseAnisotropic, and STATE_STARTED.

Referenced by LLPreferenceCore::apply().

void LLPanelDisplay2::cancel (  ) 

Definition at line 546 of file llpaneldisplay.cpp.

References gSavedSettings, mBrightness, mCompositeLimit, mDebugBeaconLineWidth, mFogRatio, mGamma, mParticleCount, mProbeHardwareOnStartup, mStereoEyeSeparation, mStereoFocalDistance, mStereoMode, mUseAniso, mUseVBO, mVideoCardMem, LLControlGroup::setBOOL(), LLControlGroup::setF32(), and LLControlGroup::setS32().

Referenced by LLPreferenceCore::cancel().

BOOL LLPanelDisplay2::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 452 of file llpaneldisplay.cpp.

References LLPanel::checkRequirements(), LLPanel::childSetEnabled(), FALSE, LLUICtrlFactory::getRadioGroupByName(), gSavedSettings, mCtrlStereoMode, mRadioVideoCardMem, refresh(), LLPanel::requires(), LLControlGroup::setBOOL(), TRUE, WIDGET_TYPE_CHECKBOX, WIDGET_TYPE_RADIO_GROUP, and WIDGET_TYPE_SPINNER.

void LLPanelDisplay2::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 491 of file llpaneldisplay.cpp.

References LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLControlGroup::getS32(), gSavedSettings, mBrightness, mCompositeLimit, mDebugBeaconLineWidth, mFogRatio, mGamma, mParticleCount, mProbeHardwareOnStartup, mStereoEyeSeparation, mStereoFocalDistance, mStereoMode, mUseAniso, mUseVBO, mVideoCardMem, LLPanel::refresh(), and refreshEnabledState().

Referenced by apply(), and postBuild().

void LLPanelDisplay2::refreshEnabledState (  ) 

Definition at line 512 of file llpaneldisplay.cpp.

References LLPanel::childSetEnabled(), FALSE, LLRadioGroup::getItemCount(), LLViewerImageList::getMaxVideoRamSetting(), LLRadioGroup::getRadioButton(), gFeatureManagerp, gGLManager, i, LLFeatureList::isFeatureAvailable(), llclamp(), LLGLManager::mHasVertexBufferObject, mRadioVideoCardMem, S32, and LLCheckBoxCtrl::setEnabled().

Referenced by refresh().


Friends And Related Function Documentation

friend class LLPreferenceCore [friend]

Definition at line 84 of file llpaneldisplay.h.


Member Data Documentation

F32 LLPanelDisplay2::mBrightness [protected]

Definition at line 103 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

S32 LLPanelDisplay2::mCompositeLimit [protected]

Definition at line 107 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

LLRadioGroup* LLPanelDisplay2::mCtrlStereoMode [protected]

Definition at line 98 of file llpaneldisplay.h.

Referenced by apply(), and postBuild().

S32 LLPanelDisplay2::mDebugBeaconLineWidth [protected]

Definition at line 108 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

F32 LLPanelDisplay2::mFogRatio [protected]

Definition at line 105 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

F32 LLPanelDisplay2::mGamma [protected]

Definition at line 102 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

S32 LLPanelDisplay2::mParticleCount [protected]

Definition at line 106 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

BOOL LLPanelDisplay2::mProbeHardwareOnStartup [protected]

Definition at line 113 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

LLRadioGroup* LLPanelDisplay2::mRadioVideoCardMem [protected]

Definition at line 97 of file llpaneldisplay.h.

Referenced by postBuild(), and refreshEnabledState().

F32 LLPanelDisplay2::mStereoEyeSeparation [protected]

Definition at line 111 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

F32 LLPanelDisplay2::mStereoFocalDistance [protected]

Definition at line 110 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

S32 LLPanelDisplay2::mStereoMode [protected]

Definition at line 109 of file llpaneldisplay.h.

Referenced by apply(), cancel(), and refresh().

BOOL LLPanelDisplay2::mUseAniso [protected]

Definition at line 101 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

BOOL LLPanelDisplay2::mUseVBO [protected]

Definition at line 100 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

S32 LLPanelDisplay2::mVideoCardMem [protected]

Definition at line 104 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:35 2010 for Second Life Viewer by  doxygen 1.4.7