-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathspaceObject.e
More file actions
41 lines (27 loc) · 828 Bytes
/
spaceObject.e
File metadata and controls
41 lines (27 loc) · 828 Bytes
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
OPT MODULE, OSVERSION=37
MODULE 'reaction/reaction_macros','space','gadgets/layout'
MODULE '*reactionObject','*reactionForm'
EXPORT OBJECT spaceObject OF reactionObject
ENDOBJECT
EXPORT PROC createPreviewObject(scr) OF spaceObject
self.previewObject:=SpaceObject, SpaceEnd
IF self.previewObject=0 THEN self.previewObject:=self.createErrorObject(scr)
self.makePreviewChildAttrs(0)
ENDPROC
EXPORT PROC create(parent) OF spaceObject
self.type:=TYPE_SPACE
SUPER self.create(parent)
self.libsused:=[TYPE_SPACE]
ENDPROC
EXPORT PROC editSettings() OF spaceObject IS TRUE
EXPORT PROC serialiseData() OF spaceObject IS
[
0,0,0
]
EXPORT PROC getTypeName() OF spaceObject
RETURN 'Space'
ENDPROC
EXPORT PROC createSpaceObject(parent)
DEF space:PTR TO spaceObject
NEW space.create(parent)
ENDPROC space