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

CtrlButton Class Reference

Base class for button controls. More...

#include <ctrl_button.hpp>

Inheritance diagram for CtrlButton:

CtrlGeneric SkinObject Observer< VarBool > List of all members.

Public Member Functions

 CtrlButton (intf_thread_t *pIntf, const GenericBitmap &rBmpUp, const GenericBitmap &rBmpOver, const GenericBitmap &rBmpDown, CmdGeneric &rCommand, const UString &rTooltip, const UString &rHelp, VarBool *pVisible)
 Create a button with 3 images.
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

Base class for button controls.

Definition at line 37 of file ctrl_button.hpp.


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