2013-04-18 03:43:35 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// 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/chartype.h>
|
|
|
|
#include <wx/defs.h>
|
|
|
|
#include <wx/event.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/windowid.h>
|
|
|
|
#include <wx/aui/framemanager.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;
|
|
|
|
class wxWindow;
|
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:
|
|
|
|
|
|
|
|
CBreakPointWindow(CCodeWindow* _pCodeWindow,
|
|
|
|
wxWindow* parent,
|
|
|
|
wxWindowID id = wxID_ANY,
|
2011-02-27 23:03:08 +00:00
|
|
|
const wxString& title = wxT("Breakpoints"),
|
2011-02-25 09:35:56 +00:00
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxTAB_TRAVERSAL | wxBORDER_NONE);
|
2011-02-27 23:03:08 +00:00
|
|
|
~CBreakPointWindow();
|
2011-02-25 09:35:56 +00:00
|
|
|
|
|
|
|
void NotifyUpdate();
|
|
|
|
|
2011-02-27 23:03:08 +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));
|
2011-02-25 23:15:53 +00:00
|
|
|
void SaveAll();
|
2011-02-27 23:03:08 +00:00
|
|
|
void LoadAll(wxCommandEvent& WXUNUSED(event));
|
2011-02-25 23:15:53 +00:00
|
|
|
|
2011-02-25 09:35:56 +00:00
|
|
|
private:
|
|
|
|
DECLARE_EVENT_TABLE();
|
|
|
|
|
2011-02-27 23:03:08 +00:00
|
|
|
wxAuiManager m_mgr;
|
2011-02-25 09:35:56 +00:00
|
|
|
CBreakPointView* m_BreakPointListView;
|
|
|
|
CCodeWindow* m_pCodeWindow;
|
|
|
|
|
|
|
|
void OnClose(wxCloseEvent& event);
|
|
|
|
void OnSelectBP(wxListEvent& event);
|
2008-12-08 04:46:09 +00:00
|
|
|
};
|