start work on the input config dialog. nonfunctional and looks like shit.

add manifest crap under Windows so it gets the cool controls.
This commit is contained in:
StapleButter
2017-03-23 23:38:40 +01:00
parent f237afeb66
commit 49314244e1
7 changed files with 195 additions and 0 deletions

View File

@ -23,6 +23,8 @@
#include "../NDS.h"
#include "../GPU.h"
#include "InputConfig.h"
bool Touching;
@ -58,6 +60,8 @@ wxBEGIN_EVENT_TABLE(MainFrame, wxFrame)
EVT_MENU(ID_OPENROM, MainFrame::OnOpenROM)
EVT_MENU(ID_EXIT, MainFrame::OnCloseFromMenu)
EVT_MENU(ID_INPUTCONFIG, MainFrame::OnInputConfig)
EVT_PAINT(MainFrame::OnPaint)
EVT_IDLE(MainFrame::OnIdle)
wxEND_EVENT_TABLE()
@ -179,6 +183,12 @@ void MainFrame::OnOpenROM(wxCommandEvent& event)
emustatuschangemutex->Unlock();
}
void MainFrame::OnInputConfig(wxCommandEvent& event)
{
InputConfigDialog dlg(this);
dlg.ShowModal();
}
void MainFrame::ProcessSDLEvents()
{
bool running = (emustatus == 1);