#include <lljoystickbutton.h>


Public Member Functions | |
| LLJoystickAgentSlide (const LLString &name, LLRect rect, const LLString &default_image, const LLString &selected_image, EJoystickQuadrant initial) | |
| virtual void | onHeldDown () |
| virtual void | onMouseUp () |
Static Public Member Functions | |
| static LLView * | fromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
Definition at line 105 of file lljoystickbutton.h.
| LLJoystickAgentSlide::LLJoystickAgentSlide | ( | const LLString & | name, | |
| LLRect | rect, | |||
| const LLString & | default_image, | |||
| const LLString & | selected_image, | |||
| EJoystickQuadrant | initial | |||
| ) | [inline] |
Definition at line 109 of file lljoystickbutton.h.
Referenced by fromXML().

| void LLJoystickAgentSlide::onHeldDown | ( | ) | [virtual] |
Implements LLJoystick.
Definition at line 394 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 373 of file lljoystickbutton.cpp.
References gAgent, LLJoystick::getElapsedHeldDownTime(), JQ_LEFT, JQ_RIGHT, LLJoystick::mInitialQuadrant, LLAgent::moveLeftNudge(), and NUDGE_TIME.

| LLView * LLJoystickAgentSlide::fromXML | ( | LLXMLNodePtr | node, | |
| LLView * | parent, | |||
| LLUICtrlFactory * | factory | |||
| ) | [static] |
Reimplemented from LLButton.
Definition at line 438 of file lljoystickbutton.cpp.
References FALSE, LLUICtrl::initFromXML(), JQ_ORIGIN, LLJoystickAgentSlide(), LLView::selectFontHAlign(), LLJoystick::selectQuadrant(), LLButton::setHAlign(), and LLButton::setScaleImage().

1.5.5