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;
|
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();
|
|
|
|
|
|
|
|
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 SaveAll();
|
|
|
|
void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void LoadAll();
|
2011-02-25 23:15:53 +00:00
|
|
|
|
2011-02-25 09:35:56 +00:00
|
|
|
private:
|
2016-06-24 08:43:46 +00:00
|
|
|
wxAuiManager m_mgr;
|
|
|
|
CBreakPointView* m_BreakPointListView;
|
|
|
|
CCodeWindow* m_pCodeWindow;
|
2011-02-25 09:35:56 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnClose(wxCloseEvent& event);
|
|
|
|
void OnSelectBP(wxListEvent& event);
|
2008-12-08 04:46:09 +00:00
|
|
|
};
|