#include <llpaneldisplay.h>
Inheritance diagram for LLPanelDisplay2:
Public Member Functions | |
LLPanelDisplay2 () | |
virtual | ~LLPanelDisplay2 () |
virtual BOOL | postBuild () |
void | refresh () |
void | apply () |
void | cancel () |
void | refreshEnabledState () |
Protected Attributes | |
LLRadioGroup * | mRadioVideoCardMem |
LLRadioGroup * | mCtrlStereoMode |
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 |
Definition at line 82 of file llpaneldisplay.h.
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.
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().
friend class LLPreferenceCore [friend] |
Definition at line 84 of file llpaneldisplay.h.
F32 LLPanelDisplay2::mBrightness [protected] |
S32 LLPanelDisplay2::mCompositeLimit [protected] |
LLRadioGroup* LLPanelDisplay2::mCtrlStereoMode [protected] |
S32 LLPanelDisplay2::mDebugBeaconLineWidth [protected] |
F32 LLPanelDisplay2::mFogRatio [protected] |
F32 LLPanelDisplay2::mGamma [protected] |
S32 LLPanelDisplay2::mParticleCount [protected] |
BOOL LLPanelDisplay2::mProbeHardwareOnStartup [protected] |
LLRadioGroup* LLPanelDisplay2::mRadioVideoCardMem [protected] |
Definition at line 97 of file llpaneldisplay.h.
Referenced by postBuild(), and refreshEnabledState().
F32 LLPanelDisplay2::mStereoEyeSeparation [protected] |
F32 LLPanelDisplay2::mStereoFocalDistance [protected] |
S32 LLPanelDisplay2::mStereoMode [protected] |
BOOL LLPanelDisplay2::mUseAniso [protected] |
BOOL LLPanelDisplay2::mUseVBO [protected] |
S32 LLPanelDisplay2::mVideoCardMem [protected] |