LLFloaterPostProcess Class Reference

#include <llfloaterpostprocess.h>

Inheritance diagram for LLFloaterPostProcess:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterPostProcess:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFloaterPostProcess ()
virtual ~LLFloaterPostProcess ()
virtual void onClose (bool app_quitting)
 stuff to do on exit
void syncMenu ()
 sync up sliders

Static Public Member Functions

static LLFloaterPostProcessinstance ()
 one and one instance only
static void onBoolToggle (LLUICtrl *ctrl, void *userData)
 post process callbacks
static void onFloatControlMoved (LLUICtrl *ctrl, void *userData)
static void onColorControlRMoved (LLUICtrl *ctrl, void *userData)
static void onColorControlGMoved (LLUICtrl *ctrl, void *userData)
static void onColorControlBMoved (LLUICtrl *ctrl, void *userData)
static void onColorControlIMoved (LLUICtrl *ctrl, void *userData)
static void onLoadEffect (void *userData)
static void onSaveEffect (void *userData)
static void onChangeEffectName (LLUICtrl *ctrl, void *userData)
static void saveAlertCallback (S32 option, void *userData)
 prompts a user when overwriting an effect
static void show ()
 show off our menu

Static Public Attributes

static LLFloaterPostProcesssPostProcess = NULL


Detailed Description

Menu for adjusting the post process settings of the world

Definition at line 49 of file llfloaterpostprocess.h.


Constructor & Destructor Documentation

LLFloaterPostProcess::LLFloaterPostProcess (  ) 

LLFloaterPostProcess::~LLFloaterPostProcess (  )  [virtual]

Definition at line 89 of file llfloaterpostprocess.cpp.


Member Function Documentation

LLFloaterPostProcess * LLFloaterPostProcess::instance ( void   )  [static]

one and one instance only

Definition at line 95 of file llfloaterpostprocess.cpp.

References LLFloaterPostProcess(), LLFloater::open(), LLFloater::setFocus(), sPostProcess, and TRUE.

Referenced by show().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onBoolToggle ( LLUICtrl ctrl,
void *  userData 
) [static]

post process callbacks

Definition at line 108 of file llfloaterpostprocess.cpp.

References LLCheckBoxCtrl::getValue(), gPostProcess, and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onFloatControlMoved ( LLUICtrl ctrl,
void *  userData 
) [static]

Definition at line 118 of file llfloaterpostprocess.cpp.

References LLSliderCtrl::getValue(), gPostProcess, and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onColorControlRMoved ( LLUICtrl ctrl,
void *  userData 
) [static]

Definition at line 126 of file llfloaterpostprocess.cpp.

References LLSliderCtrl::getValue(), gPostProcess, and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onColorControlGMoved ( LLUICtrl ctrl,
void *  userData 
) [static]

Definition at line 134 of file llfloaterpostprocess.cpp.

References LLSliderCtrl::getValue(), gPostProcess, and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onColorControlBMoved ( LLUICtrl ctrl,
void *  userData 
) [static]

Definition at line 142 of file llfloaterpostprocess.cpp.

References LLSliderCtrl::getValue(), gPostProcess, and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onColorControlIMoved ( LLUICtrl ctrl,
void *  userData 
) [static]

Definition at line 150 of file llfloaterpostprocess.cpp.

References LLSliderCtrl::getValue(), gPostProcess, and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onLoadEffect ( void *  userData  )  [static]

Definition at line 157 of file llfloaterpostprocess.cpp.

References LLSD::asString(), LLComboBox::getSelectedValue(), gPostProcess, LLPostProcess::setSelectedEffect(), sPostProcess, and syncMenu().

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onSaveEffect ( void *  userData  )  [static]

Definition at line 168 of file llfloaterpostprocess.cpp.

References LLViewerWindow::alertXml(), LLSD::asString(), LLLineEditor::getValue(), gPostProcess, gViewerWindow, LLSD::has(), LLPostProcess::mAllEffects, saveAlertCallback(), LLPostProcess::saveEffect(), sPostProcess, and syncMenu().

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onChangeEffectName ( LLUICtrl ctrl,
void *  userData 
) [static]

Definition at line 185 of file llfloaterpostprocess.cpp.

References LLView::getChild(), LLComboBox::getSelectedValue(), LLLineEditor::setValue(), and sPostProcess.

Referenced by LLFloaterPostProcess().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::saveAlertCallback ( S32  option,
void *  userData 
) [static]

prompts a user when overwriting an effect

Definition at line 195 of file llfloaterpostprocess.cpp.

References LLSD::asString(), LLLineEditor::getValue(), gPostProcess, LLPostProcess::saveEffect(), sPostProcess, and syncMenu().

Referenced by onSaveEffect().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::show (  )  [static]

show off our menu

Definition at line 211 of file llfloaterpostprocess.cpp.

References instance(), LLFloater::open(), and syncMenu().

Referenced by LLWorldPostProcess::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterPostProcess::onClose ( bool  app_quitting  )  [virtual]

stuff to do on exit

Reimplemented from LLFloater.

Definition at line 221 of file llfloaterpostprocess.cpp.

References FALSE, LLFloater::setVisible(), and sPostProcess.

Here is the call graph for this function:

void LLFloaterPostProcess::syncMenu (  ) 

sync up sliders

Sync Color Filter Menu

Sync Night Vision Menu

Sync Bloom Menu

Definition at line 230 of file llfloaterpostprocess.cpp.

References LLComboBox::add(), LLSD::beginMap(), LLPanel::childSetValue(), LLSD::endMap(), LLPostProcess::getSelectedEffect(), gPostProcess, LLPostProcess::mAllEffects, LLComboBox::removeall(), LLCtrlSelectionInterface::selectByValue(), and LLPostProcess::tweaks.

Referenced by LLFloaterPostProcess(), onLoadEffect(), onSaveEffect(), saveAlertCallback(), and show().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:

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