Show DRAM size in the emulator status
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / memory1browser.h
1 //
2 // memory1browser.h: Jaguar memory window 1 browser
3 //
4 // by James Hammons
5 // (C) 2012 Underground Software
6 //
7
8 #ifndef __MEMORY1BROWSER_H__
9 #define __MEMORY1BROWSER_H__
10
11 #include <QtWidgets>
12 #include <stdint.h>
13
14 class Memory1BrowserWindow: public QWidget
15 {
16 Q_OBJECT
17
18 public:
19 Memory1BrowserWindow(QWidget * parent = 0);
20
21 public slots:
22 // void DefineAllKeys(void);
23 void RefreshContents(size_t NumWin);
24 void RefreshContentsWindow(void);
25 void GoToAddress(void);
26
27 protected:
28 void keyPressEvent(QKeyEvent *);
29
30 private:
31 QVBoxLayout * layout;
32 // QTextBrowser * text;
33 QLabel * text;
34 QPushButton * refresh;
35 QLineEdit * address;
36 QPushButton * go;
37
38 int memBase;
39 size_t memOrigin;
40 size_t NumWinOrigin;
41 };
42
43 #endif // __MEMORY1BROWSER_H__