Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATKnob Class Reference

CATKnob Class Reference
[GUI Application library for CAT]

#include <CATKnob.h>

Inheritance diagram for CATKnob:

CATControl CATWidget CATGuiObj CATXMLObject

List of all members.


Detailed Description

Knob control for GUI.

Definition at line 32 of file CATKnob.h.


Public Member Functions

 CATKnob (const CATString &element, const CATString &rootDir)
virtual ~CATKnob ()
virtual CATResult RectFromAttribs ()
virtual void TrackMouseMove (const CATPOINT &point, bool leftButton, CATMODKEY modKey)
virtual void TrackMouseTimer (CATMODKEY modKey)
virtual void TrackMouseDown (const CATPOINT &point, CATMODKEY modKey)
virtual void TrackMouseRelease (const CATPOINT &point, CATMODKEY modKey)
virtual void OnMouseWheel (const CATPOINT &point, CATFloat32 wheelMove, CATMODKEY modKey)
virtual void OnKeyDown (const CATKeystroke &keystroke)
virtual void OnKeyPress (const CATKeystroke &keystroke)
virtual void Draw (CATImage *image, const CATRect &dirtyRect)
virtual void PostDraw (CATDRAWCONTEXT drawContext, const CATRect &dirtyRect)
virtual CATKNOB_STYLE GetKnobStyle ()
 Knob styles.
virtual void SetKnobStyle (CATKNOB_STYLE style)
virtual CATString GetHint () const
 GetHint() retrieves the hint text for the control.
virtual void OnMouseDoubleClick (CATMODKEY modKey)

Protected Member Functions

CATKNOB_STYLE GetActiveStyle (CATMODKEY modKey)
virtual void SetValueFromPoint (const CATPOINT &point, CATMODKEY modKey)
virtual CATResult ParseAttributes ()
 ParseAttributes() parses the known attributes for an object.

Protected Attributes

bool fCommandTrack
bool fCursorHidden
CATKNOB_STYLE fKnobStyle
CATKNOB_STYLE fLastKnobStyle
CATFilterEWMAfFilter
CATInt32 fLastKnob
CATPOINT fStartPoint
CATPOINT fLastPoint
CATPOINT fLastMove
clock_t fLastTime
CATFloat32 fFilterCoef
CATFloat32 fMinDegree
CATFloat32 fMaxDegree
CATVALUE_TYPE fValueType
CATFloat32 fMinAdjVal
CATFloat32 fMaxAdjVal

The documentation for this class was generated from the following files:
Generated on Mon Feb 11 04:10:39 2008 for Game Accessibility Suite by doxygen 1.5.4