aboutsummaryrefslogtreecommitdiff
path: root/src/wx/main.h
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-28 17:03:08 +0200
committerStapleButter <thetotalworm@gmail.com>2017-03-28 17:03:08 +0200
commit4ad96f1b34777d4b6a95c34937e91993e7ecc5b5 (patch)
tree78782be975df7069b5408b2634ccf04b67e1cdc8 /src/wx/main.h
parent55e75dab47c61a66b654ba78430ecc000e49a454 (diff)
start work on a separate SDL window
Diffstat (limited to 'src/wx/main.h')
-rw-r--r--src/wx/main.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wx/main.h b/src/wx/main.h
index eb54a21..32fe2e0 100644
--- a/src/wx/main.h
+++ b/src/wx/main.h
@@ -91,10 +91,27 @@ public:
EmuThread(MainFrame* parent);
~EmuThread();
+ void EmuRun() { emustatus = 1; }
+ void EmuPause() { emustatus = 2; }
+ void EmuExit() { emustatus = 0; }
+
protected:
virtual ExitCode Entry();
+ void ProcessEvents();
MainFrame* parent;
+
+ SDL_Window* sdlwin;
+ SDL_Renderer* sdlrend;
+ SDL_Texture* sdltex;
+
+ void* texpixels;
+ int texstride;
+
+ int joyid;
+ u32 axismask;
+
+ int emustatus;
};
#endif // WX_MAIN_H