LLFloaterMove Class Reference

#include <llmoveview.h>

Inheritance diagram for LLFloaterMove:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterMove:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void onClose (bool app_quitting)

Static Public Member Functions

static void onFlyButtonClicked (void *userdata)
static F32 getYawRate (F32 time)
static void show (void *)
static void toggle (void *)
static BOOL visible (void *)
static LLFloaterMovegetInstance ()

Public Attributes

LLButtonmFlyButton
LLJoystickAgentTurnmForwardButton
LLJoystickAgentTurnmBackwardButton
LLJoystickAgentSlidemSlideLeftButton
LLJoystickAgentSlidemSlideRightButton
LLButtonmTurnLeftButton
LLButtonmTurnRightButton
LLButtonmMoveUpButton
LLButtonmMoveDownButton

Protected Member Functions

 LLFloaterMove ()
 ~LLFloaterMove ()

Static Protected Member Functions

static void turnLeftNudge (void *userdata)
static void turnLeft (void *userdata)
static void turnRightNudge (void *userdata)
static void turnRight (void *userdata)
static void moveUp (void *userdata)
static void moveDown (void *userdata)

Static Protected Attributes

static LLFloaterMovesInstance = NULL

Detailed Description

Definition at line 45 of file llmoveview.h.


Constructor & Destructor Documentation

LLFloaterMove::LLFloaterMove (  )  [protected]

Definition at line 72 of file llmoveview.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLUICtrlFactory::getButtonByName(), LLViewerUICtrlFactory::getJoystickAgentSlideByName(), LLViewerUICtrlFactory::getJoystickAgentTurnByName(), gUICtrlFactory, mBackwardButton, mFlyButton, mForwardButton, mMoveDownButton, mMoveUpButton, MOVE_BUTTON_DELAY, moveDown(), moveUp(), mSlideLeftButton, mSlideRightButton, mTurnLeftButton, mTurnRightButton, NULL, onFlyButtonClicked(), LLButton::setHeldDownCallback(), LLButton::setHeldDownDelay(), LLFloater::setIsChrome(), sInstance, TRUE, turnLeft(), and turnRight().

Referenced by show().

LLFloaterMove::~LLFloaterMove (  )  [protected]

Definition at line 116 of file llmoveview.cpp.

References NULL, and sInstance.


Member Function Documentation

static LLFloaterMove* LLFloaterMove::getInstance (  )  [inline, static]

Definition at line 62 of file llmoveview.h.

References sInstance.

Referenced by LLAgent::propagate().

F32 LLFloaterMove::getYawRate ( F32  time  )  [static]

Definition at line 180 of file llmoveview.cpp.

References NUDGE_TIME, and YAW_NUDGE_RATE.

Referenced by agent_turn_left(), agent_turn_right(), LLJoystickAgentTurn::onHeldDown(), turnLeft(), and turnRight().

void LLFloaterMove::moveDown ( void userdata  )  [static, protected]

Definition at line 215 of file llmoveview.cpp.

References gAgent, and LLAgent::moveUp().

Referenced by LLFloaterMove().

void LLFloaterMove::moveUp ( void userdata  )  [static, protected]

Definition at line 208 of file llmoveview.cpp.

References gAgent, and LLAgent::moveUp().

Referenced by LLFloaterMove().

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

Reimplemented from LLFloater.

Definition at line 123 of file llmoveview.cpp.

References FALSE, gSavedSettings, LLFloater::onClose(), and LLControlGroup::setBOOL().

void LLFloaterMove::onFlyButtonClicked ( void userdata  )  [static]

Definition at line 173 of file llmoveview.cpp.

References gAgent, and LLAgent::toggleFlying().

Referenced by LLFloaterMove().

void LLFloaterMove::show ( void  )  [static]

Definition at line 138 of file llmoveview.cpp.

References f, gSavedSettings, LLFloaterMove(), LLFloater::open(), LLControlGroup::setBOOL(), sInstance, and TRUE.

Referenced by LLShowFloater::handleEvent(), LLViewerWindow::initWorldUI(), and toggle().

void LLFloaterMove::toggle ( void  )  [static]

Definition at line 154 of file llmoveview.cpp.

References LLFloater::close(), NULL, show(), and sInstance.

void LLFloaterMove::turnLeft ( void userdata  )  [static, protected]

Definition at line 194 of file llmoveview.cpp.

References gAgent, LLButton::getHeldDownTime(), getYawRate(), LLAgent::moveYaw(), mTurnLeftButton, and sInstance.

Referenced by LLFloaterMove().

static void LLFloaterMove::turnLeftNudge ( void userdata  )  [static, protected]

void LLFloaterMove::turnRight ( void userdata  )  [static, protected]

Definition at line 201 of file llmoveview.cpp.

References gAgent, LLButton::getHeldDownTime(), getYawRate(), LLAgent::moveYaw(), mTurnRightButton, and sInstance.

Referenced by LLFloaterMove().

static void LLFloaterMove::turnRightNudge ( void userdata  )  [static, protected]

BOOL LLFloaterMove::visible ( void  )  [static]

Definition at line 167 of file llmoveview.cpp.

References NULL, and sInstance.

Referenced by LLFloaterVisible::handleEvent().


Member Data Documentation

LLJoystickAgentTurn* LLFloaterMove::mBackwardButton

Definition at line 78 of file llmoveview.h.

Referenced by LLFloaterMove(), and LLAgent::propagate().

LLButton* LLFloaterMove::mFlyButton

Definition at line 75 of file llmoveview.h.

Referenced by LLFloaterMove().

LLJoystickAgentTurn* LLFloaterMove::mForwardButton

Definition at line 77 of file llmoveview.h.

Referenced by LLFloaterMove(), and LLAgent::propagate().

LLButton* LLFloaterMove::mMoveDownButton

Definition at line 84 of file llmoveview.h.

Referenced by LLFloaterMove(), and LLAgent::propagate().

LLButton* LLFloaterMove::mMoveUpButton

Definition at line 83 of file llmoveview.h.

Referenced by LLFloaterMove(), and LLAgent::propagate().

LLJoystickAgentSlide* LLFloaterMove::mSlideLeftButton

Definition at line 79 of file llmoveview.h.

Referenced by LLFloaterMove(), and LLAgent::propagate().

LLJoystickAgentSlide* LLFloaterMove::mSlideRightButton

Definition at line 80 of file llmoveview.h.

Referenced by LLFloaterMove(), and LLAgent::propagate().

LLButton* LLFloaterMove::mTurnLeftButton

Definition at line 81 of file llmoveview.h.

Referenced by LLFloaterMove(), LLAgent::propagate(), and turnLeft().

LLButton* LLFloaterMove::mTurnRightButton

Definition at line 82 of file llmoveview.h.

Referenced by LLFloaterMove(), LLAgent::propagate(), and turnRight().

LLFloaterMove * LLFloaterMove::sInstance = NULL [static, protected]

Definition at line 87 of file llmoveview.h.

Referenced by getInstance(), LLFloaterMove(), show(), toggle(), turnLeft(), turnRight(), visible(), and ~LLFloaterMove().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:20 2010 for Second Life Viewer by  doxygen 1.4.7