LLJoystickCameraRotate Class Reference

#include <lljoystickbutton.h>

Inheritance diagram for LLJoystickCameraRotate:

Inheritance graph
[legend]
Collaboration diagram for LLJoystickCameraRotate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLJoystickCameraRotate (const LLString &name, LLRect rect, const LLString &out_img, const LLString &in_img)
virtual void setToggleState (BOOL left, BOOL top, BOOL right, BOOL bottom)
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual void onHeldDown ()
virtual void draw ()

Protected Member Functions

F32 getOrbitRate ()
virtual void updateSlop ()
void drawRotatedImage (const LLImageGL *image, S32 rotations)

Protected Attributes

BOOL mInLeft
BOOL mInTop
BOOL mInRight
BOOL mInBottom


Detailed Description

Definition at line 121 of file lljoystickbutton.h.


Constructor & Destructor Documentation

LLJoystickCameraRotate::LLJoystickCameraRotate ( const LLString name,
LLRect  rect,
const LLString out_img,
const LLString in_img 
)

Definition at line 482 of file lljoystickbutton.cpp.


Member Function Documentation

void LLJoystickCameraRotate::setToggleState ( BOOL  left,
BOOL  top,
BOOL  right,
BOOL  bottom 
) [virtual]

Definition at line 600 of file lljoystickbutton.cpp.

References mInBottom, mInLeft, mInRight, and mInTop.

BOOL LLJoystickCameraRotate::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

void LLJoystickCameraRotate::onHeldDown (  )  [virtual]

void LLJoystickCameraRotate::draw ( void   )  [virtual]

Reimplemented from LLButton.

Definition at line 608 of file lljoystickbutton.cpp.

References LLView::drawDebugRect(), drawRotatedImage(), LLButton::getImageSelected(), LLButton::getImageUnselected(), mInBottom, mInLeft, mInRight, mInTop, and LLView::sDebugRects.

Here is the call graph for this function:

F32 LLJoystickCameraRotate::getOrbitRate (  )  [protected]

Definition at line 583 of file lljoystickbutton.cpp.

References LLJoystick::getElapsedHeldDownTime(), NUDGE_TIME, and ORBIT_NUDGE_RATE.

Referenced by LLJoystickCameraTrack::onHeldDown(), and onHeldDown().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLJoystickCameraRotate::updateSlop (  )  [protected, virtual]

Reimplemented from LLJoystick.

Definition at line 492 of file lljoystickbutton.cpp.

References LLJoystick::mHorizSlopFar, LLJoystick::mHorizSlopNear, LLJoystick::mVertSlopFar, and LLJoystick::mVertSlopNear.

Referenced by handleMouseDown(), LLJoystickCameraTrack::onHeldDown(), and onHeldDown().

Here is the caller graph for this function:

void LLJoystickCameraRotate::drawRotatedImage ( const LLImageGL image,
S32  rotations 
) [protected]


Member Data Documentation

Definition at line 139 of file lljoystickbutton.h.

Referenced by draw(), and setToggleState().

Definition at line 140 of file lljoystickbutton.h.

Referenced by draw(), and setToggleState().

Definition at line 141 of file lljoystickbutton.h.

Referenced by draw(), and setToggleState().

Definition at line 142 of file lljoystickbutton.h.

Referenced by draw(), and setToggleState().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:50:59 2008 for SecondLife by  doxygen 1.5.5