X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fmainwin.h;h=06ca4054e86a75e3c512a66afa92b704691ee68c;hb=f005034d4a3990efc8e445ce46222ce32600411b;hp=80cfe935183d1b8f48d93e43bdae9b61cf96d77a;hpb=9af4fb023287b26dce01a36c65c9e30f56481051;p=virtualjaguar diff --git a/src/gui/mainwin.h b/src/gui/mainwin.h index 80cfe93..06ca405 100644 --- a/src/gui/mainwin.h +++ b/src/gui/mainwin.h @@ -10,6 +10,9 @@ //Hrm. uh??? I thought this wasn't the way to do this stuff...??? #include +#include "tom.h" + +#define RING_BUFFER_SIZE 32 // Forward declarations class GLWidget; @@ -40,7 +43,7 @@ class MainWin: public QMainWindow private slots: void Open(void); - void Configure(void); + void Configure(void); void Timer(void); void TogglePowerState(void); void ToggleRunState(void); @@ -99,9 +102,13 @@ class MainWin: public QMainWindow bool fullScreen; public: bool plzDontKillMyComputer; + uint32_t oldTimestamp; + uint32_t ringBufferPointer; + uint32_t ringBuffer[RING_BUFFER_SIZE]; private: QPoint mainWinPosition; // QSize mainWinSize; + int lastEditedProfile; QMenu * fileMenu; QMenu * helpMenu; QMenu * debugMenu; @@ -136,6 +143,7 @@ class MainWin: public QMainWindow QIcon powerGreen; QIcon powerRed; + uint32_t testPattern[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT_PAL]; }; #endif // __MAINWIN_H__