summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/mswin/regview.h
blob: 935489c22df4a180d1d278fe1981b838e32ba75b (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// regview.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CRegView view

class CRegView : public CScrollView
{

void PrintReg ( class CRegDoc *pDoc, class CDC *pDC,int rn_, int base_, int, int);
protected:
	CRegView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CRegView)
	int m_base;
	int mx;
	int my;
	CSize m_regsize;
	CSize m_valuesize;
	int m_ronline;
	int m_numlines;
	int format(char *, CORE_ADDR, int);
void rethink();
void BestShape();

// Attributes
public:
// Operations
public:
	static void Initialize();
	static void Terminate();




// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRegView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CRegView();

	// Generated message map functions
protected:
	//{{AFX_MSG(CRegView)
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnRegBinary();
	afx_msg void OnRegDecimal();
	afx_msg void OnRegEverything();
	afx_msg void OnRegHex();
	afx_msg void OnRegOctal();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSetFont();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////