Added a source code file date check when reading DWARF information
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / m68kDasmWin.h
index 7ac5da6..77e31cc 100644 (file)
@@ -6,11 +6,19 @@
 // Who  When        What\r
 // ---  ----------  -------------------------------------------------------------\r
 // JPM  06/27/2016  Created this file\r
+// JPM   Aug./2020  Added different layouts, and a status bar\r
 //\r
 \r
 #ifndef __M68KDASMWIN_H__\r
 #define __M68KDASMWIN_H__\r
 \r
+#define MD_LAYOUTTEXTS                                         // Use a layout with just texts otherwise the new layout is used\r
+#ifdef MD_LAYOUTTEXTS\r
+#define MD_LAYOUTFILE  1                                       // Display the filenames (1: display only the first filename)\r
+#else\r
+#define MD_LAYOUTFILE  1                                       // Must display only the first filename\r
+#endif\r
+\r
 #include <QtWidgets>\r
 #include <stdint.h>\r
 \r
@@ -30,7 +38,12 @@ class m68KDasmWindow: public QWidget
 \r
        private:\r
                QVBoxLayout *layout;\r
+#if MD_LAYOUTFILE == 1\r
+               QStatusBar *statusbar;\r
+#endif\r
+#ifdef MD_LAYOUTTEXTS\r
                QTextBrowser *text;\r
+#endif\r
                size_t memBase;\r
 };\r
 \r