summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/win/uimetrics.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-09-20 04:22:51 +1000
committer Vas Crabb <vas@vastheman.com>2022-09-20 04:22:51 +1000
commit76541e8c81f1a38707bd4d1c973f6e4f86478de5 (patch)
treecfb6ba0d92911763ae0fa56be563cf81612c7ab7 /src/osd/modules/debugger/win/uimetrics.h
parent05d3b10a6c6223b7a384a4aa02ad9d55923d778d (diff)
Debugger updates:
Made closing the Qt debugger console window hide all debugger windows and run the emulated machine (debugger windows will be shown on next user break or breakpoint hit). This matches the behaviour of the Win32 and Cocoa debuggers. Made Qt debugger clean up its windows on exit rather than on subsequent starts. This fixes GitHub #9789. Made Qt debugger less reliant on global variables, and made code to save and load configuration a bit less convoluted. It still needs more refactoring on this front, but it's in slightly better shape now. Made Qt debugger a bit less crashy on invalid configuration. Still plenty of ways to crash it, but every little bit counts. Made Qt debugger do less comparisons on menu item names and object names - it might be possible to localise one day. Moved all the C++ debugger implementations into namespaces. They're using awfully generic class names, so it's about time.
Diffstat (limited to '')
-rw-r--r--src/osd/modules/debugger/win/uimetrics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/win/uimetrics.h b/src/osd/modules/debugger/win/uimetrics.h
index 2621fc602d3..e45ae810fa6 100644
--- a/src/osd/modules/debugger/win/uimetrics.h
+++ b/src/osd/modules/debugger/win/uimetrics.h
@@ -17,6 +17,8 @@
#include <utility>
+namespace osd::debugger::win {
+
class ui_metrics
{
public:
@@ -74,4 +76,6 @@ private:
static COLORREF const s_themes[][COLOR_COUNT];
};
+} // namespace osd::debugger::win
+
#endif // MAME_DEBUGGER_WIN_UIMETRICS_H