2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2014-10-19 04:45:40 -06:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-10-24 05:24:17 -06:00
|
|
|
#include <wx/aui/framemanager.h>
|
2016-06-24 02:43:46 -06:00
|
|
|
#include <wx/panel.h>
|
2014-10-19 04:45:40 -06:00
|
|
|
|
|
|
|
class CWatchView;
|
|
|
|
|
2014-11-05 20:19:52 -07:00
|
|
|
class CWatchWindow : public wxPanel
|
2014-10-19 04:45:40 -06:00
|
|
|
{
|
|
|
|
public:
|
2016-06-24 02:43:46 -06: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 08:06:27 -06:00
|
|
|
// i18n: This kind of "watch" is used for watching emulated memory.
|
|
|
|
// It's not related to timekeeping devices.
|
2016-06-24 02:43:46 -06:00
|
|
|
const wxString& name = _("Watch"));
|
|
|
|
~CWatchWindow();
|
2014-10-19 04:45:40 -06:00
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
void NotifyUpdate();
|
|
|
|
void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void SaveAll();
|
|
|
|
void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
|
|
|
|
void LoadAll();
|
2014-10-19 04:45:40 -06:00
|
|
|
|
|
|
|
private:
|
2016-06-24 02:43:46 -06:00
|
|
|
wxAuiManager m_mgr;
|
2014-10-24 05:24:17 -06:00
|
|
|
|
2016-06-24 02:43:46 -06:00
|
|
|
// Owned by wx. Deleted implicitly upon destruction.
|
|
|
|
CWatchView* m_GPRGridView;
|
2014-10-19 04:45:40 -06:00
|
|
|
};
|