#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;
};
