]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/debug/cpubrowser.h
Added preliminary CPU browser window & GUI hooks.
[virtualjaguar] / src / gui / debug / cpubrowser.h
diff --git a/src/gui/debug/cpubrowser.h b/src/gui/debug/cpubrowser.h
new file mode 100644 (file)
index 0000000..0ea0cda
--- /dev/null
@@ -0,0 +1,38 @@
+//
+// cpubrowser.h: Jaguar CPU browser
+//
+// by James Hammons
+// (C) 2012 Underground Software
+//
+
+#ifndef __CPUBROWSER_H__
+#define __CPUBROWSER_H__
+
+#include <QtGui>
+#include <stdint.h>
+
+class CPUBrowserWindow: public QWidget
+{
+       Q_OBJECT
+
+       public:
+               CPUBrowserWindow(QWidget * parent = 0);
+
+
+       public slots:
+//             void DefineAllKeys(void);
+               void RefreshContents(void);
+
+       protected:
+               void keyPressEvent(QKeyEvent *);
+
+       private:
+               QVBoxLayout * layout;
+//             QTextBrowser * text;
+               QLabel * text;
+               QPushButton * refresh;
+
+               int32_t memBase;
+};
+
+#endif // __CPUBROWSER_H__