#pragma once

#include <wx/wx.h>
#include <wx/listbox.h>
#include <wx/notebook.h>
#include "ui/map_sim_frame.h"

class cGameScreen : public wxFrame
{
public:
  cGameScreen(wxWindow *parent);

  void refreshUI();

private:
  void OnClose(wxCloseEvent& event);
  void OnExit(wxCommandEvent& event);
  void OnAbout(wxCommandEvent& event);
  void OnSaveGame(wxCommandEvent& event);
  void OnLoadGame(wxCommandEvent& event);
  void OnExportCompletion(wxCommandEvent& event);
  void OnGameStateChanged(wxEvent& event);
  void OnZoneSelected(wxCommandEvent& event);
  void OnTaskSelected(wxCommandEvent& event);
  void OnInventorySelected(wxCommandEvent& event);
  void OnCharacterSelected(wxCommandEvent& event);
  void OnItemSelected(wxCommandEvent& event);
  void OnMapSim(wxCommandEvent& event);

  void populateZones();
  void populateTasks();
  void populateInventory();
  void populateCharacters();
  void populateItems();

  wxNotebook* m_notebook;
  wxListBox* m_zoneList;
  wxListBox* m_taskList;
  wxListBox* m_inventoryList;
  wxListBox* m_characterList;
  wxListBox* m_itemList;
};
