My Project
|
Screensaver control. More...
#include <ScreensaverControl.h>
Public Member Functions | |
CScreensaverControl (SallyAPI::GUI::CGUIBaseObject *parent, SallyAPI::GUI::CApplicationWindow *app) | |
Constructor. | |
virtual | ~CScreensaverControl () |
Destructor. | |
virtual void | SendMessageToParent (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
Send message to parent. | |
virtual void | AddChild (SallyAPI::GUI::CControl *control) |
Adds a child. | |
void | ShowAlways (bool value) |
Shows the always. | |
bool | IsShowAlways () |
Query if this object is show always. | |
SallyAPI::GUI::CApplicationWindow * | GetApplicationWindow () |
Gets the application window. |
Screensaver control.
CScreensaverControl::CScreensaverControl | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
SallyAPI::GUI::CApplicationWindow * | app | ||
) |
Constructor.
m_pApp(app), m_bShowAlways(false)
[in,out] | parent | If non-null, the parent. |
[in,out] | app | If non-null, the application. |
CScreensaverControl::~CScreensaverControl | ( | ) | [virtual] |
Destructor.
void CScreensaverControl::AddChild | ( | SallyAPI::GUI::CControl * | control | ) | [virtual] |
Adds a child.
[in,out] | control | If non-null, the control. |
Reimplemented from SallyAPI::GUI::CForm.
Gets the application window.
bool CScreensaverControl::IsShowAlways | ( | ) |
Query if this object is show always.
void CScreensaverControl::SendMessageToParent | ( | SallyAPI::GUI::CGUIBaseObject * | reporter, |
int | reporterId, | ||
int | messageId, | ||
SallyAPI::GUI::SendMessage::CParameterBase * | messageParameter = NULL |
||
) | [virtual] |
Send message to parent.
[in,out] | reporter | If non-null, the reporter. |
reporterId | Identifier for the reporter. | |
messageId | Identifier for the message. | |
[in,out] | messageParameter | If non-null, the message parameter. |
Reimplemented from SallyAPI::GUI::CForm.
void CScreensaverControl::ShowAlways | ( | bool | value | ) |
Shows the always.
value | true to value. |