My Project
SallyAPI::GUI::CScreensaverControlButton Class Reference

Screensaver control button. More...

#include <ScreensaverControlButton.h>

Inheritance diagram for SallyAPI::GUI::CScreensaverControlButton:
SallyAPI::GUI::CControl SallyAPI::GUI::CGUIBaseObject SallyAPI::Core::CBaseObject

List of all members.

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

Detailed Description

Screensaver control button.

Author:
Christian Knobloch
Date:
28.12.2011

Constructor & Destructor Documentation

Constructor.

m_iImage(GUI_NO_IMAGE),

Author:
Christian Knobloch
Date:
27.12.2011
Parameters:
[in,out]parentIf non-null, the parent.
controlIdIdentifier for the control.

Destructor.

Author:
Christian Knobloch
Date:
27.12.2011

Member Function Documentation

Gets the image identifier.

Author:
Christian Knobloch
Date:
27.12.2011
Returns:
The image identifier.
bool CScreensaverControlButton::ProcessMouseDoubleClick ( int  x,
int  y 
) [protected, virtual]

Process a mouse double click.

Author:
Christian Knobloch
Date:
27.12.2011
Parameters:
xThe x coordinate.
yThe y coordinate.
Returns:
true if it succeeds, false if it fails.

Reimplemented from SallyAPI::GUI::CControl.

bool CScreensaverControlButton::ProcessMouseUp ( int  x,
int  y 
) [protected, virtual]

Process a mouse up.

Author:
Christian Knobloch
Date:
27.12.2011
Parameters:
xThe x coordinate.
yThe y coordinate.
Returns:
true if it succeeds, false if it fails.

Reimplemented from SallyAPI::GUI::CControl.

void CScreensaverControlButton::RenderControl ( ) [protected, virtual]

Renders a control.

Author:
Christian Knobloch
Date:
27.12.2011

Implements SallyAPI::GUI::CGUIBaseObject.

Sets an image identifier.

Author:
Christian Knobloch
Date:
27.12.2011
Parameters:
imageThe image.

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines