summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindow.h
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2008-12-10 08:57:57 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2008-12-10 08:57:57 +0000
commit514826f2828d6b89452fbf841d03bd66bbb26a02 (patch)
tree2a4853ce948c33de49ce92c58ea6fc8410e25067 /Source/Core/DebuggerWX/Src/CodeWindow.h
parent2cbef47d0e84a86a653d49b49190d05149749b9c (diff)
Fix up wxw asserts and exceptions caused by: the "booting..." msg, hacked up tooltips in the debugger, and the staticbitmaps in wiimoteframe.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1479 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.h')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindow.h67
1 files changed, 40 insertions, 27 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.h b/Source/Core/DebuggerWX/Src/CodeWindow.h
index 2416bafe36..ecd5abe21e 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindow.h
+++ b/Source/Core/DebuggerWX/Src/CodeWindow.h
@@ -60,29 +60,19 @@ class CCodeWindow
bool UseInterpreter();
bool AutomaticStart();
- bool UseDualCore();
+ //bool UseDualCore(); // not used
void JumpToAddress(u32 _Address);
private:
enum
{
- ID_TOOLBAR = 500,
- IDM_CODEVIEW,
- IDM_DEBUG_GO,
- IDM_STEP,
- IDM_STEPOVER,
- IDM_SKIP,
- IDM_SETPC,
- IDM_GOTOPC,
- IDM_ADDRBOX,
- IDM_CALLSTACKLIST,
- IDM_CALLERSLIST,
- IDM_CALLSLIST,
- IDM_SYMBOLLIST,
- IDM_INTERPRETER,
+ // ==============================================================
+ // Menu Entries
+ // CPU Mode
+ IDM_INTERPRETER = 2000, // These cannot interfere with enums in Globals.h!
+ //IDM_DUALCORE, // not used
IDM_AUTOMATICSTART,
-
IDM_JITUNLIMITED, IDM_JITOFF, // jit
IDM_JITLSOFF, IDM_JITLSLXZOFF, IDM_JITLSLWZOFF, IDM_JITLSLBZXOFF,
IDM_JITLSPOFF, IDM_JITLSFOFF,
@@ -91,27 +81,52 @@ class CCodeWindow
IDM_JITPOFF,
IDM_JITSROFF,
- IDM_DUALCORE,
+ // Views
IDM_LOGWINDOW,
IDM_REGISTERWINDOW,
IDM_BREAKPOINTWINDOW,
IDM_MEMORYWINDOW,
- IDM_SOUNDWINDOW, // sound
- IDM_VIDEOWINDOW, // video
- IDM_JITWINDOW, // jit
+ IDM_JITWINDOW,
+ IDM_SOUNDWINDOW,
+ IDM_VIDEOWINDOW,
+
+ // Symbols
+ IDM_CLEARSYMBOLS,
+ IDM_CLEANSYMBOLS, // not used
IDM_SCANFUNCTIONS,
- IDM_LOGINSTRUCTIONS,
IDM_LOADMAPFILE,
IDM_SAVEMAPFILE, IDM_SAVEMAPFILEWITHCODES,
- IDM_CLEARSYMBOLS,
- IDM_CLEANSYMBOLS,
IDM_CREATESIGNATUREFILE,
IDM_USESIGNATUREFILE,
- IDM_USESYMBOLFILE,
+ //IDM_USESYMBOLFILE, // not used
IDM_PATCHHLEFUNCTIONS,
+
+ // JIT
IDM_CLEARCODECACHE,
+ IDM_LOGINSTRUCTIONS,
+
+ // Profiler
IDM_PROFILEBLOCKS,
IDM_WRITEPROFILE,
+
+ // ==============================================================
+ // Toolbar
+ ID_TOOLBAR,
+ IDM_DEBUG_GO,
+ IDM_STEP,
+ IDM_STEPOVER,
+ IDM_SKIP,
+ IDM_SETPC,
+ IDM_GOTOPC,
+ IDM_ADDRBOX,
+
+ // ==============================================================
+ // Debugger GUI Objects
+ ID_CODEVIEW,
+ ID_CALLSTACKLIST,
+ ID_CALLERSLIST,
+ ID_CALLSLIST,
+ ID_SYMBOLLIST
};
enum
@@ -127,6 +142,7 @@ class CCodeWindow
};
// Settings
+ bool bAutomaticStart;
bool bLogWindow;
bool bRegisterWindow;
bool bBreakpointWindow;
@@ -134,7 +150,6 @@ class CCodeWindow
bool bJitWindow;
bool bSoundWindow;
bool bVideoWindow;
- bool bAutomaticStart;
// Sub dialogs
wxMenuBar* pMenuBar;
@@ -171,8 +186,6 @@ class CCodeWindow
void OnCallsListChange(wxCommandEvent& event);
void OnCodeStep(wxCommandEvent& event);
void OnCodeViewChange(wxCommandEvent &event);
- void OnStatusBar(wxMenuEvent &event); void OnStatusBar_(wxUpdateUIEvent &event);
- void DoTip(wxString text);
void SingleCPUStep();
void OnAddrBoxChange(wxCommandEvent& event);