-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLOGIBMP.H
49 lines (41 loc) · 1.26 KB
/
LOGIBMP.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
// LogiText.h - interface for CLogiTextGate and derivatives
//
// Copyright (C) 1993-1994 George Mills and Softronics, Inc. Corporation
// All rights reserved.
//
class CLogiView;
class CLogiDoc;
class CLogiGate;
class CLogiRobotGate;
/////////////////////////////////////////////////////////////////////////////
class CLogiBitmapGate : public CLogiGate
{
protected:
DECLARE_SERIAL(CLogiBitmapGate);
CLogiBitmapGate();
CLogiBitmapGate(const CRect& position, const char *name, int ipage, CLogiDoc* pdoc, int iStyle=0, BOOL bPlayground=FALSE, const char *pSoundCommands="\\NUL");
void Draw(CDC* pDC, CLogiView* pView);
void Simulate(CLogiDoc* pDoc);
void Animate(CLogiView* pView);
virtual void Initialize(CLogiView* pView, UINT iMode);
void ResizeRect();
void LoadBase();
// Implementation
public:
CString m_csFileName;
UINT m_uIndex;
int m_iStyle;
BOOL m_bPlayground;
CDib m_cdPictures[256];
CDib m_cdPicture;
BOOL m_bLoaded;
CLogiRobotGate* m_Robot[16];
virtual void Serialize(CArchive& ar);
virtual CLogiObj* Clone(CLogiDoc* pDoc);
virtual void OnOpen(CLogiView* pView);
virtual void MoveTo(const CRect& position, CLogiView* pView = NULL);
virtual void SetContacts();
protected:
friend class CRectTool;
}
;