2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 03:43:35 +00:00
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2014-02-22 22:36:30 +00:00
|
|
|
#include <wx/aui/framemanager.h>
|
2016-06-24 08:43:46 +00:00
|
|
|
#include <wx/panel.h>
|
2011-02-27 23:03:08 +00:00
|
|
|
|
2008-12-08 04:46:09 +00:00
|
|
|
class CBreakPointView;
|
|
|
|
class CCodeWindow;
|
2014-02-22 22:36:30 +00:00
|
|
|
class wxListEvent;
|
2018-04-12 05:56:15 +00:00
|
|
|
class CBreakPointBar;
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2011-02-27 23:03:08 +00:00
|
|
|
class CBreakPointWindow : public wxPanel
|
2008-12-08 04:46:09 +00:00
|
|
|
{
|
2011-02-25 09:35:56 +00:00
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
CBreakPointWindow(CCodeWindow* _pCodeWindow, wxWindow* parent, wxWindowID id = wxID_ANY,
|
|
|
|
const wxString& title = _("Breakpoints"),
|
|
|
|
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxTAB_TRAVERSAL | wxBORDER_NONE);
|
|
|
|
~CBreakPointWindow();
|
|
|
|
|
|
|
|
void NotifyUpdate();
|
2016-10-03 07:29:50 +00:00
|
|
|
void SaveAll();
|
|
|
|
void LoadAll();
|
2018-04-12 05:56:15 +00:00
|
|
|
void ReloadBitmaps();
|
2016-10-03 07:29:50 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
friend class CBreakPointBar;
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
void OnDelete(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void OnClear(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void OnAddBreakPoint(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void OnAddMemoryCheck(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
|
2016-10-03 07:29:50 +00:00
|
|
|
void OnSelectBP(wxListEvent& event);
|
2011-02-25 23:15:53 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
wxAuiManager m_mgr;
|
|
|
|
CBreakPointView* m_BreakPointListView;
|
|
|
|
CCodeWindow* m_pCodeWindow;
|
2018-04-12 05:56:15 +00:00
|
|
|
CBreakPointBar* m_breakpointBar;
|
2008-12-08 04:46:09 +00:00
|
|
|
};
|