-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpriteDetails.hpp
148 lines (117 loc) · 5.55 KB
/
SpriteDetails.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*******************************************************************************
* FILE NAME: SpriteDetails.hpp *
* *
* DESCRIPTION: *
* Declaration of the class: *
* SpriteDetails- Details view of sprite info *
* ---------------------------------------------------------------------------- *
* 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 _SPRITEDETAILS_
#define _SPRITEDETAILS_
class SpriteDetails;
#ifndef _SPRITE_
#include "Sprite.hpp"
#endif
#ifndef _IVSEQ_H_
#include <ivseq.h>
#endif
#ifndef _IVBCNR_
#include <ivbcnr.h>
#endif
#define INCL_WINSTDCNR
#include <os2.h>
class IContainerColumn;
#ifndef _IRECT_
#include <irect.hpp>
#endif
#ifndef _ICNRCTL_
#include <icnrctl.hpp>
#endif
#include "itrace.hpp"
#include "SpriteDropHandler.hpp"
#include "SpriteDetails.h"
/*----------------------------------------------------------------------------*/
/* Align classes on four byte boundary. */
/*----------------------------------------------------------------------------*/
#pragma pack(4)
//*****************************************************************************
// Class definition for SpriteDetailsVBContainerControlCnrObj
//*****************************************************************************
class SpriteDetailsVBContainerControlCnrObj : public IVBContainerObject {
public:
//---------------------------------------------------------------------------
// Constructors / destructors
//---------------------------------------------------------------------------
SpriteDetailsVBContainerControlCnrObj(Sprite& anObject);
SpriteDetailsVBContainerControlCnrObj(SpriteDetailsVBContainerControlCnrObj& anObject);
virtual ~SpriteDetailsVBContainerControlCnrObj();
//---------------------------------------------------------------------------
// public member functions
//---------------------------------------------------------------------------
IVBContainerObject & refreshFromObject();
IVBContainerObject & updateToObject();
SpriteDetailsVBContainerControlCnrObj& operator=(const SpriteDetailsVBContainerControlCnrObj& anObject);
Sprite* realObject() { return &pRealObject; }
;
//---------------------------------------------------------------------------
// public member data
//---------------------------------------------------------------------------
IString inumFramesAsText;
IString iactiveFrameAsText;
IString ipositionAsText;
protected:
private:
//---------------------------------------------------------------------------
// private member data
//---------------------------------------------------------------------------
Sprite & pRealObject;
}; //SpriteDetailsVBContainerControlCnrObj
//*****************************************************************************
// Class definition for SpriteDetails
//*****************************************************************************
class SpriteDetails : public IVBContainerControl< Sprite*, IVSequence<Sprite*>, SpriteDetailsVBContainerControlCnrObj > {
public:
//---------------------------------------------------------------------------
// Constructors / destructors
//---------------------------------------------------------------------------
SpriteDetails(
unsigned long id = WND_SpriteDetails,
IWindow* parent = IWindow::desktopWindow(),
IWindow* owner = 0,
const IRectangle& rect = defaultFramingSpec(),
const IContainerControl::Style& style = defaultStyle(),
const IContainerControl::Attribute& attribute = IContainerControl::defaultAttribute ( ));
virtual ~SpriteDetails();
//---------------------------------------------------------------------------
// public member functions
//---------------------------------------------------------------------------
static const IRectangle defaultFramingSpec();
static const IContainerControl::Style defaultStyle();
virtual SpriteDetails & initializePart();
SpriteDetails * getVBContainerControl() { return this; };
//---------------------------------------------------------------------------
// public member data
//---------------------------------------------------------------------------
static const INotificationId readyId;
protected:
//---------------------------------------------------------------------------
// protected member functions
//---------------------------------------------------------------------------
Boolean makeConnections();
private:
//---------------------------------------------------------------------------
// private member data
//---------------------------------------------------------------------------
IContainerColumn * iContainerColumn1;
IContainerColumn * iContainerColumn2;
IContainerColumn * iContainerColumn3;
IContainerColumn * iContainerColumn4;
#include "SpriteDetails.hpv"
}; //SpriteDetails
/*----------------------------------------------------------------------------*/
/* Resume compiler default packing. */
/*----------------------------------------------------------------------------*/
#pragma pack()
#endif