summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/src/CodeWindow.h
diff options
context:
space:
mode:
authorfires.gc <fires.gc@gmail.com>2008-07-24 13:40:07 +0000
committerfires.gc <fires.gc@gmail.com>2008-07-24 13:40:07 +0000
commit2f308cf77accfe9125eb2bf5fc53348fd9aaa058 (patch)
tree07b20ba7642b61119eb1a80b21d967847c1d4b1a /Source/Core/DebuggerWX/src/CodeWindow.h
parent9e285ca377b336e3a3d2aaf763fa25ba20925f15 (diff)
minor improvements (mostly debugger)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@82 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/src/CodeWindow.h')
-rw-r--r--Source/Core/DebuggerWX/src/CodeWindow.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/src/CodeWindow.h b/Source/Core/DebuggerWX/src/CodeWindow.h
index 3d8a8db5d4..e068769ed5 100644
--- a/Source/Core/DebuggerWX/src/CodeWindow.h
+++ b/Source/Core/DebuggerWX/src/CodeWindow.h
@@ -32,6 +32,7 @@ class CLogWindow;
class CBreakPointWindow;
class CMemoryWindow;
class CCodeView;
+class IniFile;
class CCodeWindow
: public wxFrame
@@ -45,7 +46,10 @@ class CCodeWindow
const wxSize& size = wxSize(400, 500),
long style = wxDEFAULT_FRAME_STYLE | wxCLIP_CHILDREN | wxNO_FULL_REPAINT_ON_RESIZE);
- ~CCodeWindow();
+ ~CCodeWindow();
+
+ void Load(IniFile &file);
+ void Save(IniFile &file) const;
void Update();
void NotifyMapLoaded();
@@ -79,6 +83,7 @@ class CCodeWindow
enum
{
Toolbar_DebugGo,
+ Toolbar_Pause,
Toolbar_Step,
Toolbar_StepOver,
Toolbar_Skip,
@@ -88,7 +93,7 @@ class CCodeWindow
};
// sub dialogs
- CLogWindow* m_logwindow;
+ CLogWindow* m_LogWindow;
CRegisterWindow* m_RegisterWindow;
CBreakPointWindow* m_BreakpointWindow;
CMemoryWindow* m_MemoryWindow;
@@ -105,6 +110,9 @@ class CCodeWindow
void OnSymbolListChange(wxCommandEvent& event);
void OnCallstackListChange(wxCommandEvent& event);
void OnCodeStep(wxCommandEvent& event);
+
+ void SingleCPUStep();
+
void OnAddrBoxChange(wxCommandEvent& event);
void OnToggleRegisterWindow(wxCommandEvent& event);
@@ -121,6 +129,7 @@ class CCodeWindow
void PopulateToolbar(wxToolBar* toolBar);
void InitBitmaps();
void CreateGUIControls(const SCoreStartupParameter& _LocalCoreStartupParameter);
+ void OnKeyDown(wxKeyEvent& event);
};
#endif /*CODEWINDOW_*/