Files
wx_wherigo/main/include/ui/start_screen.h
Peter Siegmund 6e29dde558 latest code update
- app icon
- starting with map view
- code cleanup

Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
2026-02-14 09:47:27 +01:00

35 lines
700 B
C++

#pragma once
#include <wx/wx.h>
#include <wx/statbmp.h>
#include <wx/html/htmlwin.h>
#include "ui/map_sim_frame.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;
};