Code::Blocks
SVN r11506
src
cpuregistersdlg.h
Go to the documentation of this file.
1
/*
2
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3
* http://www.gnu.org/licenses/gpl-3.0.html
4
*/
5
6
#ifndef CPUREGISTERSDLG_H
7
#define CPUREGISTERSDLG_H
8
9
#include <
wx/panel.h
>
10
#include <
cbdebugger_interfaces.h
>
11
12
class
wxListCtrl
;
13
14
class
CPURegistersDlg
:
public
wxPanel
,
public
cbCPURegistersDlg
15
{
16
public
:
17
CPURegistersDlg
(
wxWindow
* parent);
18
19
wxWindow
*
GetWindow
() {
return
this
; }
20
21
void
Clear
();
22
void
SetRegisterValue
(
const
wxString
& reg_name,
const
wxString
& hexValue,
const
wxString
& interpreted);
23
void
EnableWindow
(
bool
enable);
24
protected
:
25
int
RegisterIndex
(
const
wxString
& reg_name);
26
void
OnRefresh
(
wxCommandEvent
& event);
27
28
private
:
29
DECLARE_EVENT_TABLE
();
30
private
:
31
wxListCtrl
*
m_pList
;
32
};
33
34
#endif // CPUREGISTERSDLG_H
CPURegistersDlg::GetWindow
wxWindow * GetWindow()
Definition:
cpuregistersdlg.h:19
CPURegistersDlg::EnableWindow
void EnableWindow(bool enable)
Definition:
cpuregistersdlg.cpp:83
CPURegistersDlg::Clear
void Clear()
Definition:
cpuregistersdlg.cpp:36
cbCPURegistersDlg
Definition:
cbdebugger_interfaces.h:45
wxListCtrl
wxCommandEvent
CPURegistersDlg
Definition:
cpuregistersdlg.h:14
wxString
CPURegistersDlg::RegisterIndex
int RegisterIndex(const wxString ®_name)
Definition:
cpuregistersdlg.cpp:47
CPURegistersDlg::DECLARE_EVENT_TABLE
DECLARE_EVENT_TABLE()
CPURegistersDlg::SetRegisterValue
void SetRegisterValue(const wxString ®_name, const wxString &hexValue, const wxString &interpreted)
Definition:
cpuregistersdlg.cpp:57
cbdebugger_interfaces.h
CPURegistersDlg::OnRefresh
void OnRefresh(wxCommandEvent &event)
CPURegistersDlg::CPURegistersDlg
CPURegistersDlg(wxWindow *parent)
Definition:
cpuregistersdlg.cpp:21
wxPanel
CPURegistersDlg::m_pList
wxListCtrl * m_pList
Definition:
cpuregistersdlg.h:31
wxWindow
panel.h
Generated by
1.8.13