-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rotozoomer3.h
executable file
·40 lines (30 loc) · 794 Bytes
/
Rotozoomer3.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
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h"
#include "FPoint.h"
#include <vector>
#define PI (3.14159265)
// Idle time handler interface
class IIdleHandler {
public:
virtual BOOL OnIdle(LONG lCount) = 0;
};
class CRotozoomer3App : public CWinAppEx {
protected:
int ExitInstance();
public:
CRotozoomer3App();
UINT m_nAppLook;
BOOL m_bHiColorIcons;
std::vector<IIdleHandler *> IdleHandlers;
virtual BOOL InitInstance();
virtual void PreLoadState();
virtual void LoadCustomState();
virtual void SaveCustomState();
BOOL OnIdle(LONG lCount);
afx_msg void OnAppAbout();
DECLARE_MESSAGE_MAP()
};
extern CRotozoomer3App theApp;