CtrlRadialSlider Class Reference

Radial slider. More...

Inheritance diagram for CtrlRadialSlider:

Inheritance graph
[legend]
Collaboration diagram for CtrlRadialSlider:

Collaboration graph
[legend]

Public Member Functions

 CtrlRadialSlider (intf_thread_t *pIntf, const GenericBitmap &rBmpSeq, int numImg, VarPercent &rVariable, float minAngle, float maxAngle, const UString &rHelp, VarBool *pVisible)
 Create a radial slider with the given image, which must be composed of numImg subimages of the same size.
virtual ~CtrlRadialSlider ()
virtual void handleEvent (EvtGeneric &rEvent)
 Handle an event.
virtual bool mouseOver (int x, int y) const
 Check whether coordinates are inside the control.
virtual void draw (OSGraphics &rImage, int xDest, int yDest)
 Draw the control on the given graphics.
virtual string getType () const
 Get the type of control (custom RTTI).

Friends

class CmdUpDown
class CmdDownUp
class CmdMove

Data Structures

class  CmdDownUp
class  CmdMove
class  CmdUpDown
 Callback objects.

Detailed Description

Radial slider.

Constructor & Destructor Documentation

CtrlRadialSlider::CtrlRadialSlider ( intf_thread_t pIntf,
const GenericBitmap rBmpSeq,
int  numImg,
VarPercent rVariable,
float  minAngle,
float  maxAngle,
const UString rHelp,
VarBool pVisible 
)

Create a radial slider with the given image, which must be composed of numImg subimages of the same size.

References Subject< S, ARG >::addObserver(), FSM::addState(), FSM::addTransition(), OSFactory::createOSGraphics(), OSGraphics::drawBitmap(), Box::getHeight(), SkinObject::getIntf(), Box::getWidth(), OSFactory::instance(), and FSM::setState().

CtrlRadialSlider::~CtrlRadialSlider (  )  [virtual]


Member Function Documentation

void CtrlRadialSlider::handleEvent ( EvtGeneric rEvent  )  [virtual]

Handle an event.

Reimplemented from CtrlGeneric.

References EvtGeneric::getAsString(), and FSM::handleTransition().

bool CtrlRadialSlider::mouseOver ( int  x,
int  y 
) const [virtual]

Check whether coordinates are inside the control.

Reimplemented from CtrlGeneric.

References OSGraphics::hit().

void CtrlRadialSlider::draw ( OSGraphics rImage,
int  xDest,
int  yDest 
) [virtual]

Draw the control on the given graphics.

Reimplemented from CtrlGeneric.

References OSGraphics::drawGraphics().

virtual string CtrlRadialSlider::getType (  )  const [inline, virtual]

Get the type of control (custom RTTI).

Reimplemented from CtrlGeneric.


Friends And Related Function Documentation

friend class CmdUpDown [friend]

friend class CmdDownUp [friend]

friend class CmdMove [friend]


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

Generated on Tue May 25 08:05:54 2010 for VLC by  doxygen 1.5.6