#include <llfloaterpostprocess.h>


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 LLFloaterPostProcess * | instance () |
| 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 LLFloaterPostProcess * | sPostProcess = NULL |
Definition at line 49 of file llfloaterpostprocess.h.
| LLFloaterPostProcess::LLFloaterPostProcess | ( | ) |
Color Filter Callbacks
Night Vision Callbacks
Bloom Callbacks
Definition at line 49 of file llfloaterpostprocess.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLSingleton< LLUICtrlFactory >::getInstance(), onBoolToggle(), onChangeEffectName(), onColorControlBMoved(), onColorControlGMoved(), onColorControlIMoved(), onColorControlRMoved(), onFloatControlMoved(), onLoadEffect(), onSaveEffect(), LLUICtrl::setCommitCallback(), and syncMenu().
Referenced by instance().


| LLFloaterPostProcess::~LLFloaterPostProcess | ( | ) | [virtual] |
Definition at line 89 of file llfloaterpostprocess.cpp.
| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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.

| 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().


LLFloaterPostProcess * LLFloaterPostProcess::sPostProcess = NULL [static] |
Definition at line 87 of file llfloaterpostprocess.h.
Referenced by instance(), onChangeEffectName(), onClose(), onLoadEffect(), onSaveEffect(), and saveAlertCallback().
1.5.5