starting playing the wherigo
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
33
main/include/ui/start_screen.h
Normal file
33
main/include/ui/start_screen.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user