#include <llwlparammanager.h>
Public Member Functions | |
WLColorControl (F32 red, F32 green, F32 blue, F32 intensity, char const *n, char const *sliderName="") | |
flag for if it's the Blue Horizon or Density color controller | |
WLColorControl & | operator= (LLVector4 const &val) |
operator LLVector4 (void) const | |
operator LLVector3 (void) const | |
void | update (LLWLParamSet ¶ms) const |
Public Attributes | |
F32 | r |
F32 | g |
F32 | b |
F32 | i |
char const * | name |
the values | |
std::string | mSliderName |
name to use to dereference params | |
bool | hasSliderName |
name of the slider in menu | |
bool | isSunOrAmbientColor |
only set slider name for true color types | |
bool | isBlueHorizonOrDensity |
flag for if it's the sun or ambient color controller |
Definition at line 45 of file llwlparammanager.h.
WLColorControl::WLColorControl | ( | F32 | red, | |
F32 | green, | |||
F32 | blue, | |||
F32 | intensity, | |||
char const * | n, | |||
char const * | sliderName = "" | |||
) | [inline] |
flag for if it's the Blue Horizon or Density color controller
Definition at line 54 of file llwlparammanager.h.
References hasSliderName, isBlueHorizonOrDensity, isSunOrAmbientColor, and mSliderName.
WLColorControl& WLColorControl::operator= | ( | LLVector4 const & | val | ) | [inline] |
WLColorControl::operator LLVector4 | ( | void | ) | const [inline] |
WLColorControl::operator LLVector3 | ( | void | ) | const [inline] |
void WLColorControl::update | ( | LLWLParamSet & | params | ) | const [inline] |
Definition at line 92 of file llwlparammanager.h.
References b, g, i, name, r, and LLWLParamSet::set().
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), LLFloaterWindLight::onGlowBMoved(), and LLFloaterWindLight::onGlowRMoved().
Definition at line 47 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), LLFloaterWindLight::onGlowRMoved(), operator LLVector3(), operator LLVector4(), operator=(), LLFloaterWindLight::syncMenu(), and update().
Definition at line 47 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), operator LLVector3(), operator LLVector4(), operator=(), LLFloaterWindLight::syncMenu(), and update().
Definition at line 47 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), LLFloaterWindLight::onGlowBMoved(), operator LLVector3(), operator LLVector4(), operator=(), LLFloaterWindLight::syncMenu(), and update().
Definition at line 47 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), operator LLVector4(), operator=(), and update().
char const* WLColorControl::name |
the values
Definition at line 48 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::syncMenu(), and update().
std::string WLColorControl::mSliderName |
name to use to dereference params
Definition at line 49 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), and WLColorControl().
name of the slider in menu
Definition at line 50 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), and WLColorControl().
only set slider name for true color types
Definition at line 51 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), and WLColorControl().
flag for if it's the sun or ambient color controller
Definition at line 52 of file llwlparammanager.h.
Referenced by LLFloaterWindLight::onColorControlBMoved(), LLFloaterWindLight::onColorControlGMoved(), LLFloaterWindLight::onColorControlIMoved(), LLFloaterWindLight::onColorControlRMoved(), and WLColorControl().