#include <ctrl_slider.hpp>
Inheritance diagram for CtrlSliderCursor:
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). |
Definition at line 40 of file ctrl_slider.hpp.
|
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(). |