LLPanelDisplay3 Class Reference

#include <llpaneldisplay.h>

Inheritance diagram for LLPanelDisplay3:

Inheritance graph
[legend]
Collaboration diagram for LLPanelDisplay3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelDisplay3 ()
virtual ~LLPanelDisplay3 ()
virtual BOOL postBuild ()
void refresh ()
void apply ()
void setDefaults ()
void cancel ()
void refreshEnabledState ()

Static Public Member Functions

static void onVertexShaderEnable (LLUICtrl *, void *)

Protected Attributes

LLCheckBoxCtrlmCtrlBumpShiny
LLCheckBoxCtrlmCtrlRippleWater
LLCheckBoxCtrlmCtrlAvatarVP
LLCheckBoxCtrlmCtrlShaderEnable
LLRadioGroupmCtrlAvatarMode
LLRadioGroupmRadioLightingDetail2
LLRadioGroupmRadioTerrainDetail
LLSlidermCtrlLODFactor
LLSlidermCtrlFlexFactor
LLSlidermCtrlTreeFactor
LLSlidermCtrlAvatarFactor
BOOL mBumpShiny
BOOL mRippleWater
BOOL mAvatarVP
BOOL mShaderEnable
S32 mAvatarMode
S32 mLightingDetail
S32 mTerrainDetail
F32 mPrimLOD
F32 mFlexLOD
F32 mTreeLOD
F32 mAvatarLOD

Friends

class LLPreferenceCore

Detailed Description

Definition at line 116 of file llpaneldisplay.h.


Constructor & Destructor Documentation

LLPanelDisplay3::LLPanelDisplay3 (  ) 

Definition at line 565 of file llpaneldisplay.cpp.

References LLUICtrlFactory::buildPanel(), and gUICtrlFactory.

LLPanelDisplay3::~LLPanelDisplay3 (  )  [virtual]

Definition at line 644 of file llpaneldisplay.cpp.


Member Function Documentation

void LLPanelDisplay3::apply (  ) 

Definition at line 698 of file llpaneldisplay.cpp.

Referenced by LLPreferenceCore::apply().

void LLPanelDisplay3::cancel (  ) 

Definition at line 708 of file llpaneldisplay.cpp.

References gSavedSettings, mAvatarLOD, mAvatarMode, mAvatarVP, mBumpShiny, mFlexLOD, mLightingDetail, mPrimLOD, mRippleWater, mTerrainDetail, mTreeLOD, LLControlGroup::setBOOL(), LLControlGroup::setF32(), and LLControlGroup::setS32().

Referenced by LLPreferenceCore::cancel().

void LLPanelDisplay3::onVertexShaderEnable ( LLUICtrl ,
void  
) [static]

Definition at line 723 of file llpaneldisplay.cpp.

Referenced by postBuild().

BOOL LLPanelDisplay3::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 570 of file llpaneldisplay.cpp.

References LLPanel::checkRequirements(), FALSE, LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getRadioGroupByName(), LLUICtrlFactory::getSliderBarByName(), mCtrlAvatarFactor, mCtrlAvatarMode, mCtrlAvatarVP, mCtrlBumpShiny, mCtrlFlexFactor, mCtrlLODFactor, mCtrlRippleWater, mCtrlShaderEnable, mCtrlTreeFactor, mRadioLightingDetail2, mRadioTerrainDetail, onVertexShaderEnable(), refresh(), LLPanel::requires(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), TRUE, WIDGET_TYPE_CHECKBOX, WIDGET_TYPE_RADIO_GROUP, and WIDGET_TYPE_SLIDER_BAR.

void LLPanelDisplay3::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 648 of file llpaneldisplay.cpp.

References LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLControlGroup::getS32(), gSavedSettings, mAvatarLOD, mAvatarMode, mAvatarVP, mBumpShiny, mFlexLOD, mLightingDetail, mPrimLOD, mRippleWater, mShaderEnable, mTerrainDetail, mTreeLOD, LLPanel::refresh(), and refreshEnabledState().

Referenced by postBuild().

void LLPanelDisplay3::refreshEnabledState (  ) 

Definition at line 667 of file llpaneldisplay.cpp.

References LLPipeline::canUseVertexShaders(), FALSE, LLControlGroup::getBOOL(), LLRadioGroup::getItemCount(), LLShaderMgr::getMaxVertexShaderLevel(), LLRadioGroup::getSelectedIndex(), gFeatureManagerp, gGLManager, gPipeline, gSavedSettings, i, LLFeatureList::isFeatureAvailable(), llmax(), mCtrlAvatarMode, mCtrlAvatarVP, mCtrlBumpShiny, mCtrlRippleWater, mCtrlShaderEnable, LLGLManager::mHasCubeMap, S32, LLCheckBoxCtrl::setEnabled(), LLRadioGroup::setIndexEnabled(), LLRadioGroup::setSelectedIndex(), LLShaderMgr::SHADER_AVATAR, LLShaderMgr::SHADER_ENVIRONMENT, and TRUE.

Referenced by refresh().

void LLPanelDisplay3::setDefaults (  ) 

Definition at line 703 of file llpaneldisplay.cpp.


Friends And Related Function Documentation

friend class LLPreferenceCore [friend]

Definition at line 118 of file llpaneldisplay.h.


Member Data Documentation

F32 LLPanelDisplay3::mAvatarLOD [protected]

Definition at line 157 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

S32 LLPanelDisplay3::mAvatarMode [protected]

Definition at line 151 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

BOOL LLPanelDisplay3::mAvatarVP [protected]

Definition at line 149 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

BOOL LLPanelDisplay3::mBumpShiny [protected]

Definition at line 147 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

LLSlider* LLPanelDisplay3::mCtrlAvatarFactor [protected]

Definition at line 145 of file llpaneldisplay.h.

Referenced by postBuild().

LLRadioGroup* LLPanelDisplay3::mCtrlAvatarMode [protected]

Definition at line 137 of file llpaneldisplay.h.

Referenced by postBuild(), and refreshEnabledState().

LLCheckBoxCtrl* LLPanelDisplay3::mCtrlAvatarVP [protected]

Definition at line 135 of file llpaneldisplay.h.

Referenced by postBuild(), and refreshEnabledState().

LLCheckBoxCtrl* LLPanelDisplay3::mCtrlBumpShiny [protected]

Definition at line 133 of file llpaneldisplay.h.

Referenced by postBuild(), and refreshEnabledState().

LLSlider* LLPanelDisplay3::mCtrlFlexFactor [protected]

Definition at line 143 of file llpaneldisplay.h.

Referenced by postBuild().

LLSlider* LLPanelDisplay3::mCtrlLODFactor [protected]

Definition at line 142 of file llpaneldisplay.h.

Referenced by postBuild().

LLCheckBoxCtrl* LLPanelDisplay3::mCtrlRippleWater [protected]

Definition at line 134 of file llpaneldisplay.h.

Referenced by postBuild(), and refreshEnabledState().

LLCheckBoxCtrl* LLPanelDisplay3::mCtrlShaderEnable [protected]

Definition at line 136 of file llpaneldisplay.h.

Referenced by postBuild(), and refreshEnabledState().

LLSlider* LLPanelDisplay3::mCtrlTreeFactor [protected]

Definition at line 144 of file llpaneldisplay.h.

Referenced by postBuild().

F32 LLPanelDisplay3::mFlexLOD [protected]

Definition at line 155 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

S32 LLPanelDisplay3::mLightingDetail [protected]

Definition at line 152 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

F32 LLPanelDisplay3::mPrimLOD [protected]

Definition at line 154 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

LLRadioGroup* LLPanelDisplay3::mRadioLightingDetail2 [protected]

Definition at line 138 of file llpaneldisplay.h.

Referenced by postBuild().

LLRadioGroup* LLPanelDisplay3::mRadioTerrainDetail [protected]

Definition at line 140 of file llpaneldisplay.h.

Referenced by postBuild().

BOOL LLPanelDisplay3::mRippleWater [protected]

Definition at line 148 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

BOOL LLPanelDisplay3::mShaderEnable [protected]

Definition at line 150 of file llpaneldisplay.h.

Referenced by refresh().

S32 LLPanelDisplay3::mTerrainDetail [protected]

Definition at line 153 of file llpaneldisplay.h.

Referenced by cancel(), and refresh().

F32 LLPanelDisplay3::mTreeLOD [protected]

Definition at line 156 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