#include <llfloaterjoystick.h>
Public Member Functions | |
LLFloaterJoystick (const LLSD &data) | |
virtual | ~LLFloaterJoystick () |
virtual BOOL | postBuild () |
virtual void | refresh () |
virtual void | apply () |
virtual void | cancel () |
virtual void | draw () |
Static Public Member Functions | |
static void | setSNDefaults () |
Static Private Member Functions | |
static void | onClickRestoreSNDefaults (void *) |
Private Attributes | |
S32 | mJoystickAxis [7] |
bool | m3DCursor |
bool | mAutoLeveling |
bool | mZoomDirect |
F32 | mAvatarAxisScale [6] |
F32 | mBuildAxisScale [6] |
F32 | mFlycamAxisScale [7] |
F32 | mAvatarAxisDeadZone [6] |
F32 | mBuildAxisDeadZone [6] |
F32 | mFlycamAxisDeadZone [7] |
F32 | mAvatarFeathering |
F32 | mBuildFeathering |
F32 | mFlycamFeathering |
LLStatView * | mAxisStatsView |
LLStat * | mAxisStats [6] |
LLStatBar * | mAxisStatsBar [6] |
Definition at line 38 of file llfloaterjoystick.h.
LLFloaterJoystick::LLFloaterJoystick | ( | const LLSD & | data | ) |
Definition at line 48 of file llfloaterjoystick.cpp.
References LLUICtrlFactory::buildFloater(), LLFloater::center(), and LLSingleton< LLUICtrlFactory >::getInstance().
LLFloaterJoystick::~LLFloaterJoystick | ( | ) | [virtual] |
Definition at line 122 of file llfloaterjoystick.cpp.
BOOL LLFloaterJoystick::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 83 of file llfloaterjoystick.cpp.
References LLView::addChild(), LLStatView::addStat(), LLPanel::childSetAction(), LLControlGroup::getBOOL(), LLView::getRect(), LLPanel::getUIString(), gSavedSettings, i, llformat(), mAxisStats, mAxisStatsBar, mAxisStatsView, LLStatBar::mLabelSpacing, LLStatBar::mMaxBar, LLStatBar::mMinBar, LLRectBase< Type >::mRight, LLStatBar::mTickSpacing, LLRectBase< Type >::mTop, onClickRestoreSNDefaults(), r, refresh(), LLUIString::setArg(), LLContainerView::setDisplayChildren(), and TRUE.
void LLFloaterJoystick::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 132 of file llfloaterjoystick.cpp.
References LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLControlGroup::getS32(), gSavedSettings, m3DCursor, mAutoLeveling, mAvatarAxisDeadZone, mAvatarAxisScale, mAvatarFeathering, mBuildAxisDeadZone, mBuildAxisScale, mBuildFeathering, mFlycamAxisDeadZone, mFlycamAxisScale, mFlycamFeathering, mJoystickAxis, mZoomDirect, and LLPanel::refresh().
Referenced by postBuild().
void LLFloaterJoystick::apply | ( | ) | [virtual] |
Definition at line 128 of file llfloaterjoystick.cpp.
void LLFloaterJoystick::cancel | ( | ) | [virtual] |
Definition at line 197 of file llfloaterjoystick.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, llendl, llinfos, m3DCursor, mAutoLeveling, mAvatarAxisDeadZone, mAvatarAxisScale, mAvatarFeathering, mBuildAxisDeadZone, mBuildAxisScale, mBuildFeathering, mFlycamAxisDeadZone, mFlycamAxisScale, mFlycamFeathering, mJoystickAxis, mZoomDirect, LLControlGroup::setBOOL(), LLControlGroup::setF32(), and LLControlGroup::setS32().
void LLFloaterJoystick::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 55 of file llfloaterjoystick.cpp.
References LLStat::addValue(), LLPanel::childSetEnabled(), LLPanel::childSetText(), LLFloater::draw(), LLViewerJoystick::getDescription(), LLSingleton< LLViewerJoystick >::getInstance(), LLViewerJoystick::getJoystickAxis(), LLPanel::getUIString(), gFrameIntervalSeconds, i, LLViewerJoystick::isJoystickInitialized(), mAxisStats, mAxisStatsBar, LLStatBar::mMaxBar, and LLStatBar::mMinBar.
void LLFloaterJoystick::setSNDefaults | ( | ) | [static] |
Definition at line 269 of file llfloaterjoystick.cpp.
References LLSingleton< LLViewerJoystick >::getInstance(), and LLViewerJoystick::setSNDefaults().
Referenced by onClickRestoreSNDefaults().
void LLFloaterJoystick::onClickRestoreSNDefaults | ( | void * | joy_panel | ) | [static, private] |
Definition at line 264 of file llfloaterjoystick.cpp.
References setSNDefaults().
Referenced by postBuild().
S32 LLFloaterJoystick::mJoystickAxis[7] [private] |
bool LLFloaterJoystick::m3DCursor [private] |
bool LLFloaterJoystick::mAutoLeveling [private] |
bool LLFloaterJoystick::mZoomDirect [private] |
F32 LLFloaterJoystick::mAvatarAxisScale[6] [private] |
F32 LLFloaterJoystick::mBuildAxisScale[6] [private] |
F32 LLFloaterJoystick::mFlycamAxisScale[7] [private] |
F32 LLFloaterJoystick::mAvatarAxisDeadZone[6] [private] |
F32 LLFloaterJoystick::mBuildAxisDeadZone[6] [private] |
F32 LLFloaterJoystick::mFlycamAxisDeadZone[7] [private] |
F32 LLFloaterJoystick::mAvatarFeathering [private] |
F32 LLFloaterJoystick::mBuildFeathering [private] |
F32 LLFloaterJoystick::mFlycamFeathering [private] |
LLStatView* LLFloaterJoystick::mAxisStatsView [private] |
LLStat* LLFloaterJoystick::mAxisStats[6] [private] |
LLStatBar* LLFloaterJoystick::mAxisStatsBar[6] [private] |