My Project
|
Form for creating a game application. More...
#include <GameWindow.h>
Public Member Functions | |
CGameWindow (SallyAPI::GUI::CGUIBaseObject *parent, int graphicId, const std::string &pluginPath) | |
Constructor. | |
virtual | ~CGameWindow () |
Destructor. | |
virtual void | SendMessageToParent (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int iMessageID, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
Send message to parent. | |
virtual bool | IsGame () |
Query if this object is game. | |
Protected Member Functions | |
void | OnCommandLoadGame () |
Executes the command load game action. | |
void | GameLoad () |
Game load. | |
virtual void | GameLoadEx () |
Game load ex. | |
void | OnCommandUnloadGame () |
Executes the command unload game action. | |
void | GameUnload () |
Game unload. | |
virtual void | GameUnloadEx () |
Game unload ex. | |
Protected Attributes | |
SallyAPI::GUI::CThreadStarter * | m_ptStartLoading |
SallyAPI::GUI::CForm * | m_pGameForm |
SallyAPI::GUI::CForm * | m_pStartForm |
SallyAPI::GUI::CButton * | m_pStartGame |
SallyAPI::GUI::CImageBox * | m_pStartLogo |
SallyAPI::GUI::CProcessbar * | m_pStartProcessbar |
int | m_iLoadCount |
Form for creating a game application.
CGameWindow::CGameWindow | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
int | graphicId, | ||
const std::string & | pluginPath | ||
) |
Constructor.
[in,out] | parent | If non-null, the parent. |
graphicId | Identifier for the graphic. | |
pluginPath | Full pathname of the plugin file. |
CGameWindow::~CGameWindow | ( | ) | [virtual] |
Destructor.
void CGameWindow::GameLoad | ( | ) | [protected] |
Game load.
void CGameWindow::GameLoadEx | ( | ) | [protected, virtual] |
Game load ex.
void CGameWindow::GameUnload | ( | ) | [protected] |
Game unload.
void CGameWindow::GameUnloadEx | ( | ) | [protected, virtual] |
Game unload ex.
bool CGameWindow::IsGame | ( | ) | [virtual] |
Query if this object is game.
Reimplemented from SallyAPI::GUI::CApplicationWindow.
void CGameWindow::OnCommandLoadGame | ( | ) | [protected] |
Executes the command load game action.
void CGameWindow::OnCommandUnloadGame | ( | ) | [protected] |
Executes the command unload game action.
void CGameWindow::SendMessageToParent | ( | SallyAPI::GUI::CGUIBaseObject * | reporter, |
int | reporterId, | ||
int | iMessageID, | ||
SallyAPI::GUI::SendMessage::CParameterBase * | messageParameter = NULL |
||
) | [virtual] |
Send message to parent.
[in,out] | reporter | If non-null, the reporter. |
reporterId | Identifier for the reporter. | |
iMessageID | Identifier for the message. | |
[in,out] | messageParameter | If non-null, the message parameter. |
Reimplemented from SallyAPI::GUI::CApplicationWindow.
int SallyAPI::GUI::CGameWindow::m_iLoadCount [protected] |