LLJoystickCameraZoom Class Reference

#include <lljoystickbutton.h>

Inheritance diagram for LLJoystickCameraZoom:

Inheritance graph
[legend]
Collaboration diagram for LLJoystickCameraZoom:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLJoystickCameraZoom (const LLString &name, LLRect rect, const LLString &out_img, const LLString &plus_in_img, const LLString &minus_in_img)
virtual void setToggleState (BOOL top, BOOL bottom)
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual void onHeldDown ()
virtual void draw ()

Protected Member Functions

virtual void updateSlop ()
F32 getOrbitRate ()

Protected Attributes

BOOL mInTop
BOOL mInBottom
LLUIImagePtr mPlusInImage
LLUIImagePtr mMinusInImage


Detailed Description

Definition at line 160 of file lljoystickbutton.h.


Constructor & Destructor Documentation

LLJoystickCameraZoom::LLJoystickCameraZoom ( const LLString name,
LLRect  rect,
const LLString out_img,
const LLString plus_in_img,
const LLString minus_in_img 
)

Definition at line 719 of file lljoystickbutton.cpp.

References LLSingleton< LLUIImageList >::getInstance(), LLUIImageList::getUIImage(), mMinusInImage, and mPlusInImage.

Here is the call graph for this function:


Member Function Documentation

void LLJoystickCameraZoom::setToggleState ( BOOL  top,
BOOL  bottom 
) [virtual]

Definition at line 784 of file lljoystickbutton.cpp.

References mInBottom, and mInTop.

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

Reimplemented from LLJoystick.

Definition at line 730 of file lljoystickbutton.cpp.

References LLView::getRect(), LLJoystick::handleMouseDown(), JQ_DOWN, JQ_UP, LLJoystick::mFirstMouse, LLJoystick::mInitialQuadrant, and LLCoord::mY.

Here is the call graph for this function:

void LLJoystickCameraZoom::onHeldDown (  )  [virtual]

void LLJoystickCameraZoom::draw ( void   )  [virtual]

Reimplemented from LLButton.

Definition at line 790 of file lljoystickbutton.cpp.

References LLView::drawDebugRect(), LLButton::getImageUnselected(), mInBottom, mInTop, mMinusInImage, mPlusInImage, and LLView::sDebugRects.

Here is the call graph for this function:

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

F32 LLJoystickCameraZoom::getOrbitRate (  )  [protected]

Definition at line 857 of file lljoystickbutton.cpp.

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

Referenced by onHeldDown().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 177 of file lljoystickbutton.h.

Referenced by draw(), and setToggleState().

Definition at line 178 of file lljoystickbutton.h.

Referenced by draw(), and setToggleState().

Definition at line 179 of file lljoystickbutton.h.

Referenced by draw(), and LLJoystickCameraZoom().

Definition at line 180 of file lljoystickbutton.h.

Referenced by draw(), and LLJoystickCameraZoom().


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

Generated on Fri May 16 08:51:00 2008 for SecondLife by  doxygen 1.5.5