summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/WatchWindow.h
blob: 07b8fd6b2a9325c9342b1edd9a9c1106a2ca0761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <wx/panel.h>
#include <wx/aui/framemanager.h>

class CWatchView;

class CWatchWindow : public wxPanel
{
public:
	CWatchWindow(wxWindow* parent,
	             wxWindowID id = wxID_ANY,
	             const wxPoint& pos = wxDefaultPosition,
	             const wxSize& size = wxDefaultSize,
	             long style = wxTAB_TRAVERSAL | wxNO_BORDER,
	             const wxString& name = _("Watch"));
	~CWatchWindow();

	void NotifyUpdate();
	void Event_SaveAll(wxCommandEvent& WXUNUSED(event));
	void SaveAll();
	void Event_LoadAll(wxCommandEvent& WXUNUSED(event));
	void LoadAll();

private:
	void CreateGUIControls();

	wxAuiManager m_mgr;

	// Owned by wx. Deleted implicitly upon destruction.
	CWatchView* m_GPRGridView;
};