2020-01-09 13:59:19 +01:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
2020-01-12 18:46:37 +01:00
|
|
|
#include <wx/listbox.h>
|
2020-01-09 13:59:19 +01:00
|
|
|
#include <wx/stattext.h>
|
2020-01-16 09:04:51 +01:00
|
|
|
#include <wx/hyperlink.h>
|
2020-01-10 12:23:25 +01:00
|
|
|
#include <wx/timer.h>
|
2020-01-09 13:59:19 +01:00
|
|
|
#include <wx/frame.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class MainFrame
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class MainFrame : public wxFrame
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxListView* _installedListView;
|
|
|
|
wxButton* _moveButton;
|
|
|
|
wxButton* _deleteButton;
|
2020-01-11 14:22:20 +01:00
|
|
|
wxButton* _zipButton;
|
2020-01-09 13:59:19 +01:00
|
|
|
wxButton* _openSaveDirButton;
|
2020-01-12 18:46:37 +01:00
|
|
|
wxButton* _importButton;
|
|
|
|
wxButton* _exportButton;
|
|
|
|
wxListBox* _stagingList;
|
2020-01-16 01:21:47 +01:00
|
|
|
wxButton* _deleteStagedButton;
|
2020-01-12 18:46:37 +01:00
|
|
|
wxButton* _stagingAreaButton;
|
2020-01-09 13:59:19 +01:00
|
|
|
wxStaticText* _riskLabel;
|
2020-01-10 12:23:25 +01:00
|
|
|
wxStaticText* _gameStatusLabel;
|
|
|
|
wxStaticText* _gameStatus;
|
2020-01-09 13:59:19 +01:00
|
|
|
wxStaticText* _aboutText;
|
2020-01-16 09:04:51 +01:00
|
|
|
wxHyperlinkCtrl* _githubLink;
|
2020-01-10 12:23:25 +01:00
|
|
|
wxTimer _gameCheckTimer;
|
2020-01-09 13:59:19 +01:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void moveEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void deleteEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-11 14:22:20 +01:00
|
|
|
virtual void backupEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-09 13:59:19 +01:00
|
|
|
virtual void openSaveDirEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-12 18:46:37 +01:00
|
|
|
virtual void importEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void exportEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-16 01:21:25 +01:00
|
|
|
virtual void stagingSelectionEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-16 01:21:47 +01:00
|
|
|
virtual void deleteStagedEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-12 18:46:37 +01:00
|
|
|
virtual void stagingButtonEvent( wxCommandEvent& event ) { event.Skip(); }
|
2020-01-10 12:23:25 +01:00
|
|
|
virtual void gameCheckTimerEvent( wxTimerEvent& event ) { event.Skip(); }
|
2020-01-09 13:59:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2020-01-16 09:06:46 +01:00
|
|
|
MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("M.A.S.S. Manager 1.0.0"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLIP_CHILDREN|wxTAB_TRAVERSAL );
|
2020-01-09 13:59:19 +01:00
|
|
|
|
|
|
|
~MainFrame();
|
|
|
|
|
|
|
|
};
|
|
|
|
|