LLJoystickAgentSlide Class Reference

#include <lljoystickbutton.h>

Inheritance diagram for LLJoystickAgentSlide:

Inheritance graph
Collaboration diagram for LLJoystickAgentSlide:

Collaboration graph
List of all members.

Public Member Functions

 LLJoystickAgentSlide (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 ()
virtual void onMouseUp ()

Static Public Member Functions

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

Detailed Description

Definition at line 108 of file lljoystickbutton.h.

Constructor & Destructor Documentation

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

Definition at line 112 of file lljoystickbutton.h.

Referenced by fromXML().

Member Function Documentation

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

Reimplemented from LLButton.

Definition at line 433 of file lljoystickbutton.cpp.

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

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

Reimplemented from LLButton.

Definition at line 117 of file lljoystickbutton.h.


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

Reimplemented from LLButton.

Definition at line 116 of file lljoystickbutton.h.


void LLJoystickAgentSlide::onHeldDown (  )  [virtual]

Implements LLJoystick.

Definition at line 389 of file lljoystickbutton.cpp.

References gAgent, LLJoystick::mFirstMouse, LLJoystick::mHorizSlopNear, LLJoystick::mInitialOffset, LLJoystick::mLastMouse, LLAgent::moveAt(), LLAgent::moveAtNudge(), LLAgent::moveLeft(), LLJoystick::mVertSlopFar, LLJoystick::mVertSlopNear, LLCoord::mX, LLCoord::mY, S32, and LLJoystick::updateSlop().

void LLJoystickAgentSlide::onMouseUp (  )  [virtual]

Reimplemented from LLJoystick.

Definition at line 368 of file lljoystickbutton.cpp.

References gAgent, LLJoystick::getElapsedHeldDownTime(), JQ_LEFT, JQ_RIGHT, LLJoystick::mInitialQuadrant, LLAgent::moveLeftNudge(), and NUDGE_TIME.

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