diff options
author | 2022-09-16 22:09:58 +1000 | |
---|---|---|
committer | 2022-09-16 22:23:34 +1000 | |
commit | c76cf754b3cb1a07f8d3ca585bb3a055d78f25be (patch) | |
tree | 833fa7b23f8a84a79fd052008a6ad7c3847b46da /src/osd/modules/debugger/xmlconfig.cpp | |
parent | 1aae44005b59aa712fb60f639ddbb9e8e5e7a357 (diff) |
debugger/win: Added capability to save/restore window arrangement.
* Format is mostly compatible with the Cocoa debugger, besides reversed
vertical positioning.
* Made Qt debugger more compatible with configuration format used by
Win32 and Cocoa debuggers.
* emu/config.cpp: Preserve elements with no registered handlers in
default and system configuation files.
Diffstat (limited to 'src/osd/modules/debugger/xmlconfig.cpp')
-rw-r--r-- | src/osd/modules/debugger/xmlconfig.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/xmlconfig.cpp b/src/osd/modules/debugger/xmlconfig.cpp new file mode 100644 index 00000000000..a2a29d668a2 --- /dev/null +++ b/src/osd/modules/debugger/xmlconfig.cpp @@ -0,0 +1,45 @@ +// license:BSD-3-Clause +// copyright-holders:Vas Crabb + +#include "xmlconfig.h" + +namespace osd::debugger { + +char const *const NODE_WINDOW = "window"; + +char const *const NODE_WINDOW_SPLITS = "splits"; +char const *const NODE_WINDOW_SELECTION = "selection"; +char const *const NODE_WINDOW_SCROLL = "scroll"; +char const *const NODE_WINDOW_EXPRESSION = "expression"; + +char const *const ATTR_WINDOW_TYPE = "type"; +char const *const ATTR_WINDOW_POSITION_X = "position_x"; +char const *const ATTR_WINDOW_POSITION_Y = "position_y"; +char const *const ATTR_WINDOW_WIDTH = "size_x"; +char const *const ATTR_WINDOW_HEIGHT = "size_y"; + +char const *const ATTR_WINDOW_MEMORY_REGION = "memoryregion"; +char const *const ATTR_WINDOW_MEMORY_REVERSE_COLUMNS = "reverse"; +char const *const ATTR_WINDOW_MEMORY_ADDRESS_MODE = "addressmode"; +char const *const ATTR_WINDOW_MEMORY_ADDRESS_RADIX = "addressradix"; +char const *const ATTR_WINDOW_MEMORY_DATA_FORMAT = "dataformat"; +char const *const ATTR_WINDOW_MEMORY_ROW_CHUNKS = "rowchunks"; + +char const *const ATTR_WINDOW_DISASSEMBLY_CPU = "cpu"; +char const *const ATTR_WINDOW_DISASSEMBLY_RIGHT_COLUMN = "rightbar"; + +char const *const ATTR_WINDOW_POINTS_TYPE = "bwtype"; + +char const *const ATTR_WINDOW_DEVICE_TAG = "device-tag"; + +char const *const ATTR_SPLITS_CONSOLE_STATE = "state"; +char const *const ATTR_SPLITS_CONSOLE_DISASSEMBLY = "disassembly"; + +char const *const ATTR_SELECTION_CURSOR_VISIBLE = "visible"; +char const *const ATTR_SELECTION_CURSOR_X = "start_x"; +char const *const ATTR_SELECTION_CURSOR_Y = "start_y"; + +char const *const ATTR_SCROLL_ORIGIN_X = "position_x"; +char const *const ATTR_SCROLL_ORIGIN_Y = "position_y"; + +} // namespace osd::debugger |