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
|
|
|
|
|
2014-10-24 11:24:17 +00:00
|
|
|
#include <wx/aui/framemanager.h>
|
2016-06-24 08:43:46 +00:00
|
|
|
#include <wx/panel.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:
|
2016-06-24 08:43:46 +00:00
|
|
|
CWatchWindow(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL | wxNO_BORDER,
|
2016-10-31 14:06:27 +00:00
|
|
|
// i18n: This kind of "watch" is used for watching emulated memory.
|
|
|
|
// It's not related to timekeeping devices.
|
2016-06-24 08:43:46 +00:00
|
|
|
const wxString& name = _("Watch"));
|
|
|
|
~CWatchWindow();
|
2014-10-19 10:45:40 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void NotifyUpdate();
|
|
|
|
void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void SaveAll();
|
|
|
|
void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void LoadAll();
|
2014-10-19 10:45:40 +00:00
|
|
|
|
|
|
|
private:
|
2016-06-24 08:43:46 +00:00
|
|
|
wxAuiManager m_mgr;
|
2014-10-24 11:24:17 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
// Owned by wx. Deleted implicitly upon destruction.
|
|
|
|
CWatchView* m_GPRGridView;
|
2014-10-19 10:45:40 +00:00
|
|
|
};
|