2014-10-19 10:45:40 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/defs.h>
|
|
|
|
#include <wx/event.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/translation.h>
|
|
|
|
#include <wx/windowid.h>
|
2014-10-24 11:24:17 +00:00
|
|
|
#include <wx/aui/framemanager.h>
|
2014-10-19 10:45:40 +00:00
|
|
|
|
|
|
|
class CWatchView;
|
|
|
|
class wxWindow;
|
|
|
|
|
|
|
|
class CWatchWindow
|
|
|
|
: public wxPanel
|
|
|
|
{
|
|
|
|
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:
|
|
|
|
DECLARE_EVENT_TABLE();
|
|
|
|
|
2014-10-24 11:24:17 +00:00
|
|
|
wxAuiManager m_mgr;
|
|
|
|
|
2014-10-19 10:45:40 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
ID_GPR = 1002
|
|
|
|
};
|
|
|
|
|
|
|
|
CWatchView* m_GPRGridView;
|
|
|
|
void CreateGUIControls();
|
|
|
|
};
|