-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathJamView.h
More file actions
executable file
·65 lines (56 loc) · 1.36 KB
/
Copy pathJamView.h
File metadata and controls
executable file
·65 lines (56 loc) · 1.36 KB
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
// JamView.h : header file
//
#include "Jam.h"
/////////////////////////////////////////////////////////////////////////////
// CJamView view
class CJamView : public CScrollView
{
protected:
CJamView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CJamView)
// Attributes
public:
// Operations
public:
JAM* myjam;
double currentScale;
BOOL rcrJam;
BOOL showNumbers;
void
Resize();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CJamView)
protected:
virtual void
OnDraw(CDC* pDC); // overridden to draw this view
virtual void
OnInitialUpdate(); // first time after construct
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CJamView();
#ifdef _DEBUG
virtual void
AssertValid() const;
virtual void
Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CJamView)
afx_msg int
OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void
OnShowJamnumbers();
afx_msg void
OnUpdateShowJamnumbers(CCmdUI* pCmdUI);
afx_msg void
OnMouseMove(UINT nFlags, CPoint point);
afx_msg void
OnZoomIn();
afx_msg void
OnZoomOut();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////