34 lines
670 B
C++
34 lines
670 B
C++
#pragma once
|
|
|
|
#include <wx/wx.h>
|
|
#include <wx/statbmp.h>
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
class cGameScreen;
|
|
|
|
class cStartScreen : public wxFrame
|
|
{
|
|
public:
|
|
cStartScreen();
|
|
|
|
void showCartridgeInfo();
|
|
void onGameClosed();
|
|
|
|
private:
|
|
void OnOpenCartridge(wxCommandEvent& event);
|
|
void OnStartGame(wxCommandEvent& event);
|
|
void OnExit(wxCommandEvent& event);
|
|
void OnAbout(wxCommandEvent& event);
|
|
|
|
wxPanel* m_infoPanel;
|
|
wxStaticText* m_cartridgeName;
|
|
wxStaticText* m_cartridgeAuthor;
|
|
wxHtmlWindow* m_cartridgeDesc;
|
|
wxStaticBitmap* m_splashImage;
|
|
wxButton* m_openButton;
|
|
wxButton* m_startButton;
|
|
|
|
cGameScreen* m_gameFrame;
|
|
bool m_cartridgeLoaded;
|
|
};
|