-
Notifications
You must be signed in to change notification settings - Fork 3
/
unit1.lfm
executable file
·140 lines (140 loc) · 3.2 KB
/
unit1.lfm
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
object GLForm1: TGLForm1
Left = 527
Height = 486
Top = 173
Width = 467
AllowDropFiles = True
Caption = 'GLForm1'
Menu = MainMenu1
OnCreate = FormCreate
OnDropFiles = DropFiles
OnShow = FormShow
Position = poScreenCenter
LCLVersion = '1.9.0.0'
object ErrorTimer: TTimer
Enabled = False
Interval = 300
OnTimer = ErrorTimerTimer
left = 64
top = 80
end
object MainMenu1: TMainMenu
left = 152
top = 80
object AppleMenu: TMenuItem
Caption = ''
object AboutMenu: TMenuItem
Caption = 'About'
OnClick = AboutMenuClick
end
end
object FileMenu: TMenuItem
Caption = 'File'
object OpenMenu: TMenuItem
Caption = 'Open'
ShortCut = 16463
OnClick = OpenMenuClick
end
object RotateMenu: TMenuItem
Caption = 'RotateMesh'
OnClick = RotateMenuClick
end
object PerspectiveMenu: TMenuItem
AutoCheck = True
Caption = 'Perspective'
Checked = True
OnClick = PerspectiveMenuClick
end
object DecimateMenu: TMenuItem
Caption = 'Decimate'
OnClick = DecimateMenuClick
end
object SaveMenu: TMenuItem
Caption = 'Save as OBJ'
ShortCut = 16467
OnClick = SaveMenuClick
end
end
object EditMenu: TMenuItem
Caption = 'Edit'
object CopyMenu: TMenuItem
Caption = 'Copy'
ShortCut = 4163
OnClick = CopyMenuClick
end
end
object ColorMenu: TMenuItem
Caption = 'Color'
object BackColorMenu: TMenuItem
Caption = 'Background'
OnClick = BackColorMenuClick
end
object ObjectColorMenu: TMenuItem
Caption = 'Object'
object GrayColorMenu: TMenuItem
Caption = 'Gray'
OnClick = ObjectColorMenuClick
end
object RedColorMenu: TMenuItem
Tag = 1
Caption = 'Red'
OnClick = ObjectColorMenuClick
end
object GreenColorMenu: TMenuItem
Tag = 2
Caption = 'Green'
OnClick = ObjectColorMenuClick
end
object BlueColorMenu: TMenuItem
Tag = 3
Caption = 'Blue'
OnClick = ObjectColorMenuClick
end
object CustomColorMenu: TMenuItem
Tag = 4
Caption = 'Custom'
OnClick = ObjectColorMenuClick
end
end
end
end
object OpenDialog1: TOpenDialog
Title = 'Open mesh'
Filter = 'PLY or OBJ|*.ply;*.obj'
left = 232
top = 80
end
object ColorDialog1: TColorDialog
Color = clBlack
CustomColors.Strings = (
'ColorA=000000'
'ColorB=000080'
'ColorC=008000'
'ColorD=008080'
'ColorE=800000'
'ColorF=800080'
'ColorG=808000'
'ColorH=808080'
'ColorI=C0C0C0'
'ColorJ=0000FF'
'ColorK=00FF00'
'ColorL=00FFFF'
'ColorM=FF0000'
'ColorN=FF00FF'
'ColorO=FFFF00'
'ColorP=FFFFFF'
'ColorQ=C0DCC0'
'ColorR=F0CAA6'
'ColorS=F0FBFF'
'ColorT=A4A0A0'
)
left = 312
top = 80
end
object SaveDialog1: TSaveDialog
DefaultExt = '.obj'
Filter = 'OBJ mesh|*.obj'
left = 387
top = 88
end
end