LLJoystickAgentTurn Class Reference

#include <lljoystickbutton.h>

Inheritance diagram for LLJoystickAgentTurn:

Inheritance graph
[legend]
Collaboration diagram for LLJoystickAgentTurn:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLJoystickAgentTurn (const LLString &name, LLRect rect, const LLString &default_image, const LLString &selected_image, EJoystickQuadrant initial)
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
virtual void onHeldDown ()

Static Public Member Functions

static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Detailed Description

Definition at line 89 of file lljoystickbutton.h.


Constructor & Destructor Documentation

LLJoystickAgentTurn::LLJoystickAgentTurn ( const LLString name,
LLRect  rect,
const LLString default_image,
const LLString selected_image,
EJoystickQuadrant  initial 
) [inline]

Definition at line 93 of file lljoystickbutton.h.

Referenced by fromXML().


Member Function Documentation

LLView * LLJoystickAgentTurn::fromXML ( LLXMLNodePtr  node,
LLView parent,
LLUICtrlFactory factory 
) [static]

Reimplemented from LLButton.

Definition at line 324 of file lljoystickbutton.cpp.

References FALSE, LLUICtrl::initFromXML(), JQ_ORIGIN, LLJoystickAgentTurn(), LLView::selectFontHAlign(), LLJoystick::selectQuadrant(), LLButton::setHAlign(), and LLButton::setScaleImage().

virtual LLString LLJoystickAgentTurn::getWidgetTag (  )  const [inline, virtual]

Reimplemented from LLButton.

Definition at line 98 of file lljoystickbutton.h.

References LL_JOYSTICK_TURN.

virtual EWidgetType LLJoystickAgentTurn::getWidgetType (  )  const [inline, virtual]

Reimplemented from LLButton.

Definition at line 97 of file lljoystickbutton.h.

References WIDGET_TYPE_JOYSTICK_TURN.

void LLJoystickAgentTurn::onHeldDown (  )  [virtual]

Implements LLJoystick.

Definition at line 264 of file lljoystickbutton.cpp.

References gAgent, LLJoystick::getElapsedHeldDownTime(), LLFloaterMove::getYawRate(), m, LLJoystick::mFirstMouse, LLJoystick::mInitialOffset, LLJoystick::mLastMouse, LLAgent::moveAt(), LLAgent::moveAtNudge(), LLAgent::moveYaw(), LLJoystick::mVertSlopFar, LLJoystick::mVertSlopNear, LLCoord::mX, LLCoord::mY, NUDGE_TIME, S32, and LLJoystick::updateSlop().


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