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-06-14 11:20:29 +02:00
|
|
|
#include <wx/panel.h>
|
2020-06-14 14:28:12 +02:00
|
|
|
#include <wx/radiobut.h>
|
|
|
|
#include <wx/notebook.h>
|
2020-06-14 12:18:44 +02:00
|
|
|
#include <wx/stattext.h>
|
|
|
|
#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:
|
2020-06-14 12:18:44 +02:00
|
|
|
wxPanel* _mainPanel;
|
2020-06-14 14:28:12 +02:00
|
|
|
wxNotebook* _managerNotebook;
|
2020-06-14 11:20:29 +02:00
|
|
|
wxPanel* _massPanel;
|
2020-01-09 13:59:19 +01:00
|
|
|
wxListView* _installedListView;
|
|
|
|
wxButton* _moveButton;
|
|
|
|
wxButton* _deleteButton;
|
2020-06-13 22:29:23 +02:00
|
|
|
wxButton* _renameButton;
|
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-06-14 14:28:12 +02:00
|
|
|
wxPanel* _screenshotsPanel;
|
|
|
|
wxListCtrl* _screenshotsList;
|
|
|
|
wxRadioButton* _nameRadio;
|
|
|
|
wxRadioButton* _creationDateRadio;
|
|
|
|
wxRadioButton* _ascendingRadio;
|
|
|
|
wxRadioButton* _descendingRadio;
|
|
|
|
wxButton* _viewScreenshotButton;
|
|
|
|
wxButton* _deleteScreenshotButton;
|
|
|
|
wxButton* _screenshotDirButton;
|
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-06-13 22:29:23 +02:00
|
|
|
virtual void renameMassEvent( 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-06-20 10:39:31 +02:00
|
|
|
virtual void viewScreenshotEvent( wxListEvent& event ) { event.Skip(); }
|
|
|
|
virtual void screenshotListSelectionEvent( wxListEvent& event ) { event.Skip(); }
|
2020-06-14 14:28:12 +02:00
|
|
|
virtual void screenshotFilenameSortingEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void screenshotCreationDateSortingEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void screenshotAscendingSortingEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void screenshotDescendingSortingEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void viewScreenshotEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void deleteScreenshotEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void openScreenshotDirEvent( 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-06-21 08:52:26 +02:00
|
|
|
MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("M.A.S.S. Manager 1.1.1"), 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();
|
|
|
|
|
|
|
|
};
|
|
|
|
|