-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFastCanvas.hpp
91 lines (70 loc) · 3.17 KB
/
FastCanvas.hpp
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*******************************************************************************
* FILE NAME: FastCanvas.hpp *
* *
* DESCRIPTION: *
* Declaration of the class: *
* FastCanvas- A high-performance drawing canvas *
* ---------------------------------------------------------------------------- *
* Warning: This file was generated by the VisualAge C++ Visual Builder. *
* Modifications to this source file will be lost when the part is regenerated. *
*******************************************************************************/
#ifndef _FASTCANVAS_
#define _FASTCANVAS_
class FastCanvas;
#ifndef _ICANVAS_
#include <icanvas.hpp>
#endif
#ifndef _IRECT_
#include <irect.hpp>
#endif
#include "inclos2.h"
#include "mmioos2.h"
#include "fourcc.h"
#include "dive.h"
#include "ivseq.h"
#include "ipainhdr.hpp"
#include "sprite.hpp"
#include "iexcept.hpp"
#include "FastCanvas.h"
/*----------------------------------------------------------------------------*/
/* Align classes on four byte boundary. */
/*----------------------------------------------------------------------------*/
#pragma pack(4)
//*****************************************************************************
// Class definition for FastCanvas
//*****************************************************************************
class FastCanvas : public ICanvas {
public:
//---------------------------------------------------------------------------
// Constructors / destructors
//---------------------------------------------------------------------------
FastCanvas(
unsigned long id = WND_FastCanvas,
IWindow * parent = IWindow::desktopWindow(),
IWindow * owner = 0,
const IRectangle & rect = defaultFramingSpec(),
const ICanvas::Style & style = ICanvas::defaultStyle());
virtual ~FastCanvas();
//---------------------------------------------------------------------------
// public member functions
//---------------------------------------------------------------------------
static IRectangle defaultFramingSpec();
virtual FastCanvas & initializePart();
FastCanvas * getCanvas() { return this; };
//---------------------------------------------------------------------------
// public member data
//---------------------------------------------------------------------------
static const INotificationId readyId;
protected:
//---------------------------------------------------------------------------
// protected member functions
//---------------------------------------------------------------------------
Boolean makeConnections();
private:
#include "FastCanvas.hpv"
}; //FastCanvas
/*----------------------------------------------------------------------------*/
/* Resume compiler default packing. */
/*----------------------------------------------------------------------------*/
#pragma pack()
#endif