2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-18 01:08:10 +02:00
|
|
|
// Licensed under GPLv2+
|
2014-10-19 21:45:40 +11:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/panel.h>
|
2014-10-24 22:24:17 +11:00
|
|
|
#include <wx/aui/framemanager.h>
|
2014-10-19 21:45:40 +11:00
|
|
|
|
|
|
|
class CWatchView;
|
|
|
|
|
2014-11-05 22:19:52 -05:00
|
|
|
class CWatchWindow : public wxPanel
|
2014-10-19 21:45:40 +11:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CWatchWindow(wxWindow* parent,
|
2014-10-26 23:23:45 +11: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-25 00:13:53 +11:00
|
|
|
~CWatchWindow();
|
2014-10-19 21:45:40 +11:00
|
|
|
|
|
|
|
void NotifyUpdate();
|
2014-10-24 22:24:17 +11:00
|
|
|
void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void SaveAll();
|
2014-10-25 00:13:53 +11:00
|
|
|
void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void LoadAll();
|
2014-10-19 21:45:40 +11:00
|
|
|
|
|
|
|
private:
|
2014-10-24 22:24:17 +11:00
|
|
|
wxAuiManager m_mgr;
|
|
|
|
|
2015-03-24 09:37:20 -04:00
|
|
|
// Owned by wx. Deleted implicitly upon destruction.
|
2014-10-19 21:45:40 +11:00
|
|
|
CWatchView* m_GPRGridView;
|
|
|
|
};
|