2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2014-10-19 10:45:40 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/panel.h>
|
2014-10-24 11:24:17 +00:00
|
|
|
#include <wx/aui/framemanager.h>
|
2014-10-19 10:45:40 +00:00
|
|
|
|
|
|
|
class CWatchView;
|
|
|
|
|
2014-11-06 03:19:52 +00:00
|
|
|
class CWatchWindow : public wxPanel
|
2014-10-19 10:45:40 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CWatchWindow(wxWindow* parent,
|
2014-10-26 12:23:45 +00:00
|
|
|
wxWindowID id = wxID_ANY,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = wxTAB_TRAVERSAL | wxNO_BORDER,
|
|
|
|
const wxString& name = _("Watch"));
|
2014-10-24 13:13:53 +00:00
|
|
|
~CWatchWindow();
|
2014-10-19 10:45:40 +00:00
|
|
|
|
|
|
|
void NotifyUpdate();
|
2014-10-24 11:24:17 +00:00
|
|
|
void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void SaveAll();
|
2014-10-24 13:13:53 +00:00
|
|
|
void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void LoadAll();
|
2014-10-19 10:45:40 +00:00
|
|
|
|
|
|
|
private:
|
2014-10-24 11:24:17 +00:00
|
|
|
wxAuiManager m_mgr;
|
|
|
|
|
2015-03-24 13:37:20 +00:00
|
|
|
// Owned by wx. Deleted implicitly upon destruction.
|
2014-10-19 10:45:40 +00:00
|
|
|
CWatchView* m_GPRGridView;
|
|
|
|
};
|