forked from gopa810/gcal-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FrameBase.h
77 lines (64 loc) · 1.93 KB
/
FrameBase.h
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
67
68
69
70
71
72
73
74
75
76
77
#if !defined(AFX_FRAMEBASE_H__34A0985F_C8B9_45B7_AFC7_60596383B293__INCLUDED_)
#define AFX_FRAMEBASE_H__34A0985F_C8B9_45B7_AFC7_60596383B293__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FrameBase.h : header file
//
#include "LocationRef.h"
#include "GCGregorianTime.h"
#include "GCVedicTime.h"
#include "TResultCalendar.h"
/////////////////////////////////////////////////////////////////////////////
// CFrameBase frame
class CFrameBase : public CFrameWnd
{
// DECLARE_DYNCREATE(CFrameBase)
protected:
// Attributes
public:
class c__1
{
public:
int count;
VCTIME vc_start;
VATIME va_start;
VCTIME vc_end;
VATIME va_end;
}
calendar;
CLocationRef earth;
CFont m_fontInfo;
CFont m_fontList;
CFont m_fontPrintText;
CFont m_fontPrintHdr;
CRect m_rectPrintMargins;
// Operations
public:
CRect m_rectWindow;
BOOL m_bClosed;
void InitBaseAttributes();
int PrintBlockText(CDC &pdc, TString &strTitle, TString &strText, int &nPage, CRect & rcPrint);
int AfxPrintCalendarText(CDC &dc, TResultCalendar &daybuff, CLocationRef & earth, VCTIME date, int nDaysCount, CRect & rcPrint);
CFrameBase(); // protected constructor used by dynamic creation
virtual ~CFrameBase();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFrameBase)
//}}AFX_VIRTUAL
// Implementation
protected:
afx_msg void OnInitMenu(CMenu* pMenu);
// Generated message map functions
//{{AFX_MSG(CFrameBase)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnMove(int x, int y);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FRAMEBASE_H__34A0985F_C8B9_45B7_AFC7_60596383B293__INCLUDED_)