summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/src/CodeWindow.h
diff options
context:
space:
mode:
authorfires.gc <fires.gc@gmail.com>2008-07-24 09:39:56 +0000
committerfires.gc <fires.gc@gmail.com>2008-07-24 09:39:56 +0000
commit6c4573932bd403a2bba096c5eea978f4a0c6acc0 (patch)
treecc62ca327717de93959c0cb56d1f733c69f923c1 /Source/Core/DebuggerWX/src/CodeWindow.h
parentdc631ab91f9de5722357325f919d7ac971c3d54d (diff)
improved debugger - some meaningful icons would be nice :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@79 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/src/CodeWindow.h')
-rw-r--r--Source/Core/DebuggerWX/src/CodeWindow.h43
1 files changed, 37 insertions, 6 deletions
diff --git a/Source/Core/DebuggerWX/src/CodeWindow.h b/Source/Core/DebuggerWX/src/CodeWindow.h
index 81319e9d90..3d8a8db5d4 100644
--- a/Source/Core/DebuggerWX/src/CodeWindow.h
+++ b/Source/Core/DebuggerWX/src/CodeWindow.h
@@ -56,6 +56,37 @@ class CCodeWindow
private:
+ enum
+ {
+ ID_TOOLBAR = 500,
+ IDM_DEBUG_GO,
+ IDM_STEP,
+ IDM_STEPOVER,
+ IDM_SKIP,
+ IDM_SETPC,
+ IDM_GOTOPC,
+ IDM_ADDRBOX,
+ IDM_CALLSTACKLIST,
+ IDM_SYMBOLLIST,
+ IDM_INTERPRETER,
+ IDM_DUALCORE,
+ IDM_LOGWINDOW,
+ IDM_REGISTERWINDOW,
+ IDM_BREAKPOINTWINDOW,
+ IDM_MEMORYWINDOW,
+ };
+
+ enum
+ {
+ Toolbar_DebugGo,
+ Toolbar_Step,
+ Toolbar_StepOver,
+ Toolbar_Skip,
+ Toolbar_GotoPC,
+ Toolbar_SetPC,
+ Bitmaps_max
+ };
+
// sub dialogs
CLogWindow* m_logwindow;
CRegisterWindow* m_RegisterWindow;
@@ -67,13 +98,8 @@ class CCodeWindow
wxListBox* symbols;
Common::Event sync_event;
- wxButton* buttonGo;
- wxButton* buttonStep;
- wxButton* buttonStepOver;
- wxButton* buttonSkip;
- wxButton* buttonGotoPC;
+ wxBitmap m_Bitmaps[Bitmaps_max];
- wxTextCtrl* addrbox;
DECLARE_EVENT_TABLE()
void OnSymbolListChange(wxCommandEvent& event);
@@ -90,6 +116,11 @@ class CCodeWindow
void CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParameter);
void UpdateButtonStates();
+
+ void RecreateToolbar();
+ void PopulateToolbar(wxToolBar* toolBar);
+ void InitBitmaps();
+ void CreateGUIControls(const SCoreStartupParameter& _LocalCoreStartupParameter);
};
#endif /*CODEWINDOW_*/