Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

CtrlSliderCursor Class Reference

Cursor of a slider. More...

#include <ctrl_slider.hpp>

Inheritance diagram for CtrlSliderCursor:

CtrlGeneric Observer< VarPercent > SkinObject Observer< VarBool > List of all members.

Public Member Functions

 CtrlSliderCursor (intf_thread_t *pIntf, const GenericBitmap &rBmpUp, const GenericBitmap &rBmpOver, const GenericBitmap &rBmpDown, const Bezier &rCurve, VarPercent &rVariable, VarBool *pVisible, const UString &rTooltip, const UString &rHelp)
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 UString getTooltipText () const
 Get the text of the tooltip.
virtual string getType () const
 Get the type of control (custom RTTI).

Detailed Description

Cursor of a slider.

Definition at line 40 of file ctrl_slider.hpp.


Constructor & Destructor Documentation

CtrlSliderCursor::CtrlSliderCursor (  intf_thread_t *  pIntf,
const GenericBitmap &  rBmpUp,
const GenericBitmap &  rBmpOver,
const GenericBitmap &  rBmpDown,
const Bezier &  rCurve,
VarPercent &  rVariable,
VarBool *  pVisible,
const UString &  rTooltip,
const UString &  rHelp
) 
 

Create a cursor with 3 images (which are NOT copied, be careful) If pVisible is NULL, the control is always visible

Definition at line 41 of file ctrl_slider.cpp.

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


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 10:15:03 2005 for vlc-0.8.4a by  doxygen 1.4.2