X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/9bf5c434fa7f75f808c9af12b4262582fb3102a3..009df4d72576516c0bd57440cddf6a2e7063bccd:/src/debugger/m68kDasmWin.h diff --git a/src/debugger/m68kDasmWin.h b/src/debugger/m68kDasmWin.h index 72af61e..77e31cc 100644 --- a/src/debugger/m68kDasmWin.h +++ b/src/debugger/m68kDasmWin.h @@ -6,11 +6,19 @@ // Who When What // --- ---------- ------------------------------------------------------------- // JPM 06/27/2016 Created this file +// JPM Aug./2020 Added different layouts, and a status bar // #ifndef __M68KDASMWIN_H__ #define __M68KDASMWIN_H__ +#define MD_LAYOUTTEXTS // Use a layout with just texts otherwise the new layout is used +#ifdef MD_LAYOUTTEXTS +#define MD_LAYOUTFILE 1 // Display the filenames (1: display only the first filename) +#else +#define MD_LAYOUTFILE 1 // Must display only the first filename +#endif + #include #include @@ -22,28 +30,19 @@ class m68KDasmWindow: public QWidget m68KDasmWindow(QWidget * parent = 0); public slots: -// void DefineAllKeys(void); void RefreshContents(void); -#if 0 - void GoToAddress(void); -#endif void SetAddress(int address); void Use68KPCAddress(void); protected: -#if 0 - void keyPressEvent(QKeyEvent *); -#endif private: QVBoxLayout *layout; +#if MD_LAYOUTFILE == 1 + QStatusBar *statusbar; +#endif +#ifdef MD_LAYOUTTEXTS QTextBrowser *text; -// QScrollBar *sb; -// QLabel * text; -#if 0 - QPushButton * refresh; - QLineEdit * address; - QPushButton * go; #endif size_t memBase; };