My Project
D:/source/c++/Programme/sally/sally/sallyAPI/GameWindow.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "Define.h"
00030 #include "ApplicationWindow.h"
00031 #include "Button.h"
00032 #include "ImageBox.h"
00033 #include "Processbar.h"
00034 #include "ThreadStarter.h"
00035 
00036 namespace SallyAPI
00037 {
00038         namespace GUI
00039         {
00048 
00049                 class DLL_API_SALLY CGameWindow :
00050                         public SallyAPI::GUI::CApplicationWindow
00051                 {
00052                 protected:
00053                         SallyAPI::GUI::CThreadStarter*  m_ptStartLoading;
00054 
00055                         SallyAPI::GUI::CForm*                   m_pGameForm;
00056                         SallyAPI::GUI::CForm*                   m_pStartForm;
00057                         SallyAPI::GUI::CButton*                 m_pStartGame;
00058                         SallyAPI::GUI::CImageBox*               m_pStartLogo;
00059                         SallyAPI::GUI::CProcessbar*             m_pStartProcessbar;
00060                         
00061                         int                     m_iLoadCount;
00062 
00063                         void                    OnCommandLoadGame();
00064                         void                    GameLoad();
00065                         virtual void    GameLoadEx();
00066 
00067                         void                    OnCommandUnloadGame();
00068                         void                    GameUnload();
00069                         virtual void    GameUnloadEx();
00070                 public:
00071                         CGameWindow(SallyAPI::GUI::CGUIBaseObject* parent, int graphicId, const std::string& pluginPath);
00072                         virtual ~CGameWindow();
00073 
00074                         virtual void    SendMessageToParent(SallyAPI::GUI::CGUIBaseObject* reporter, int reporterId, int iMessageID, SallyAPI::GUI::SendMessage::CParameterBase* messageParameter = NULL);
00075                         virtual bool    IsGame();
00076                 };
00077         }
00078 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines