My Project
|
Screensaver control button. More...
#include <ScreensaverControlButton.h>
Public Member Functions | |
CScreensaverControlButton (SallyAPI::GUI::CGUIBaseObject *parent, int controlId=0) | |
Constructor. | |
virtual | ~CScreensaverControlButton () |
Destructor. | |
void | SetImageId (int image) |
Sets an image identifier. | |
int | GetImageId () |
Gets the image identifier. | |
Protected Member Functions | |
virtual void | RenderControl () |
Renders a control. | |
virtual bool | ProcessMouseDoubleClick (int x, int y) |
Process a mouse double click. | |
virtual bool | ProcessMouseUp (int x, int y) |
Process a mouse up. | |
Protected Attributes | |
int | m_iImage |
Screensaver control button.
CScreensaverControlButton::CScreensaverControlButton | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
int | controlId = 0 |
||
) |
Constructor.
m_iImage(GUI_NO_IMAGE),
[in,out] | parent | If non-null, the parent. |
controlId | Identifier for the control. |
CScreensaverControlButton::~CScreensaverControlButton | ( | ) | [virtual] |
Destructor.
Gets the image identifier.
bool CScreensaverControlButton::ProcessMouseDoubleClick | ( | int | x, |
int | y | ||
) | [protected, virtual] |
Process a mouse double click.
x | The x coordinate. |
y | The y coordinate. |
Reimplemented from SallyAPI::GUI::CControl.
bool CScreensaverControlButton::ProcessMouseUp | ( | int | x, |
int | y | ||
) | [protected, virtual] |
Process a mouse up.
x | The x coordinate. |
y | The y coordinate. |
Reimplemented from SallyAPI::GUI::CControl.
void CScreensaverControlButton::RenderControl | ( | ) | [protected, virtual] |
void CScreensaverControlButton::SetImageId | ( | int | image | ) |
Sets an image identifier.
image | The image. |
int SallyAPI::GUI::CScreensaverControlButton::m_iImage [protected] |