| 1 |
object NewUnitForm: TNewUnitForm |
| 2 |
Left = 737 |
| 3 |
Height = 815 |
| 4 |
Top = 129 |
| 5 |
Width = 732 |
| 6 |
ActiveControl = EditUnitName |
| 7 |
Caption = 'Create Pascal Unit' |
| 8 |
ClientHeight = 815 |
| 9 |
ClientWidth = 732 |
| 10 |
DesignTimePPI = 115 |
| 11 |
OnCloseQuery = FormCloseQuery |
| 12 |
OnShow = FormShow |
| 13 |
Position = poMainFormCenter |
| 14 |
LCLVersion = '2.2.2.0' |
| 15 |
object ComboUnitType: TComboBox |
| 16 |
AnchorSideLeft.Control = LabelCreateUnit |
| 17 |
AnchorSideTop.Control = LabelCreateUnit |
| 18 |
AnchorSideTop.Side = asrBottom |
| 19 |
Left = 8 |
| 20 |
Height = 33 |
| 21 |
Top = 37 |
| 22 |
Width = 711 |
| 23 |
Anchors = [akTop, akLeft, akRight] |
| 24 |
BorderSpacing.Top = 8 |
| 25 |
ItemHeight = 0 |
| 26 |
ItemIndex = 0 |
| 27 |
Items.Strings = ( |
| 28 |
'Empty Unit' |
| 29 |
'Class (TObject descendant)' |
| 30 |
'View (TCastleView descendant)' |
| 31 |
'Behavior (TCastleBehavior descendant)' |
| 32 |
) |
| 33 |
OnChange = ComboUnitTypeChange |
| 34 |
Style = csDropDownList |
| 35 |
TabOrder = 0 |
| 36 |
Text = 'Empty Unit' |
| 37 |
end |
| 38 |
object EditUnitName: TEdit |
| 39 |
AnchorSideLeft.Control = LabelCreateUnit |
| 40 |
AnchorSideTop.Control = LabelUnitName |
| 41 |
AnchorSideTop.Side = asrBottom |
| 42 |
Left = 8 |
| 43 |
Height = 38 |
| 44 |
Top = 196 |
| 45 |
Width = 711 |
| 46 |
Anchors = [akTop, akLeft, akRight] |
| 47 |
BorderSpacing.Top = 8 |
| 48 |
OnChange = EditUnitNameChange |
| 49 |
TabOrder = 2 |
| 50 |
Text = 'GameSomething' |
| 51 |
end |
| 52 |
object LabelCreateUnit: TLabel |
| 53 |
Left = 8 |
| 54 |
Height = 21 |
| 55 |
Top = 8 |
| 56 |
Width = 189 |
| 57 |
Caption = 'Create New Pascal Unit:' |
| 58 |
ParentColor = False |
| 59 |
end |
| 60 |
object LabelUnitName: TLabel |
| 61 |
AnchorSideLeft.Control = LabelCreateUnit |
| 62 |
AnchorSideTop.Control = EditBaseName |
| 63 |
AnchorSideTop.Side = asrBottom |
| 64 |
Left = 8 |
| 65 |
Height = 21 |
| 66 |
Top = 167 |
| 67 |
Width = 88 |
| 68 |
BorderSpacing.Top = 15 |
| 69 |
Caption = 'Unit Name:' |
| 70 |
ParentColor = False |
| 71 |
end |
| 72 |
object LabelUnitDir: TLabel |
| 73 |
AnchorSideLeft.Control = LabelCreateUnit |
| 74 |
AnchorSideTop.Control = EditUnitName |
| 75 |
AnchorSideTop.Side = asrBottom |
| 76 |
Left = 8 |
| 77 |
Height = 21 |
| 78 |
Top = 249 |
| 79 |
Width = 116 |
| 80 |
BorderSpacing.Top = 15 |
| 81 |
Caption = 'Unit Directory:' |
| 82 |
ParentColor = False |
| 83 |
end |
| 84 |
object EditUnitDir: TEdit |
| 85 |
AnchorSideLeft.Control = LabelCreateUnit |
| 86 |
AnchorSideTop.Control = LabelUnitDir |
| 87 |
AnchorSideTop.Side = asrBottom |
| 88 |
Left = 8 |
| 89 |
Height = 38 |
| 90 |
Top = 278 |
| 91 |
Width = 666 |
| 92 |
Anchors = [akTop, akLeft, akRight] |
| 93 |
BorderSpacing.Top = 8 |
| 94 |
OnChange = EditUnitDirChange |
| 95 |
TabOrder = 3 |
| 96 |
Text = 'code/' |
| 97 |
end |
| 98 |
object ButtonUnitDir: TButton |
| 99 |
AnchorSideLeft.Control = EditUnitDir |
| 100 |
AnchorSideLeft.Side = asrBottom |
| 101 |
AnchorSideTop.Control = EditUnitDir |
| 102 |
AnchorSideTop.Side = asrCenter |
| 103 |
Left = 674 |
| 104 |
Height = 37 |
| 105 |
Top = 279 |
| 106 |
Width = 28 |
| 107 |
AutoSize = True |
| 108 |
Caption = '...' |
| 109 |
OnClick = ButtonUnitDirClick |
| 110 |
TabOrder = 4 |
| 111 |
end |
| 112 |
object PanelUnitView: TPanel |
| 113 |
AnchorSideTop.Control = PanelUnitClass |
| 114 |
AnchorSideTop.Side = asrBottom |
| 115 |
Left = 0 |
| 116 |
Height = 368 |
| 117 |
Top = 440 |
| 118 |
Width = 726 |
| 119 |
Anchors = [akTop, akLeft, akRight] |
| 120 |
BorderSpacing.Top = 8 |
| 121 |
BevelOuter = bvNone |
| 122 |
ClientHeight = 368 |
| 123 |
ClientWidth = 726 |
| 124 |
TabOrder = 6 |
| 125 |
object LabelDesignDir: TLabel |
| 126 |
AnchorSideLeft.Control = LabelCreateUnit |
| 127 |
AnchorSideTop.Side = asrBottom |
| 128 |
Left = 8 |
| 129 |
Height = 21 |
| 130 |
Top = 0 |
| 131 |
Width = 182 |
| 132 |
BorderSpacing.Top = 15 |
| 133 |
Caption = 'View Design Directory:' |
| 134 |
ParentColor = False |
| 135 |
end |
| 136 |
object EditDesignDir: TEdit |
| 137 |
AnchorSideLeft.Control = LabelCreateUnit |
| 138 |
AnchorSideTop.Control = LabelDesignDir |
| 139 |
AnchorSideTop.Side = asrBottom |
| 140 |
Left = 8 |
| 141 |
Height = 38 |
| 142 |
Top = 29 |
| 143 |
Width = 666 |
| 144 |
Anchors = [akTop, akLeft, akRight] |
| 145 |
BorderSpacing.Top = 8 |
| 146 |
OnChange = EditDesignDirChange |
| 147 |
TabOrder = 0 |
| 148 |
Text = 'data/' |
| 149 |
end |
| 150 |
object ButtonViewDir: TButton |
| 151 |
AnchorSideLeft.Control = EditDesignDir |
| 152 |
AnchorSideLeft.Side = asrBottom |
| 153 |
AnchorSideTop.Control = EditDesignDir |
| 154 |
AnchorSideTop.Side = asrCenter |
| 155 |
Left = 674 |
| 156 |
Height = 37 |
| 157 |
Top = 30 |
| 158 |
Width = 28 |
| 159 |
AutoSize = True |
| 160 |
Caption = '...' |
| 161 |
OnClick = ButtonViewDirClick |
| 162 |
TabOrder = 1 |
| 163 |
end |
| 164 |
object CheckViewInitialize: TCheckBox |
| 165 |
AnchorSideLeft.Control = LabelCreateUnit |
| 166 |
AnchorSideTop.Control = LabelFinalDesignFile |
| 167 |
AnchorSideTop.Side = asrBottom |
| 168 |
Left = 8 |
| 169 |
Height = 25 |
| 170 |
Top = 98 |
| 171 |
Width = 409 |
| 172 |
BorderSpacing.Top = 8 |
| 173 |
Caption = 'Add View Initialization to Application.OnInitialize' |
| 174 |
TabOrder = 2 |
| 175 |
end |
| 176 |
object LabelViewInitializeInfo: TLabel |
| 177 |
AnchorSideLeft.Control = LabelCreateUnit |
| 178 |
AnchorSideTop.Control = CheckViewInitialize |
| 179 |
AnchorSideTop.Side = asrBottom |
| 180 |
Left = 38 |
| 181 |
Height = 126 |
| 182 |
Top = 131 |
| 183 |
Width = 659 |
| 184 |
Anchors = [akTop, akLeft, akRight] |
| 185 |
BorderSpacing.Left = 31 |
| 186 |
BorderSpacing.Top = 8 |
| 187 |
Caption = 'We will modify code/gameinitialize.pas to add view initialization.'#10#10'Warning: Found code/gameinitialize.pas , but it is missing special CGE-XXX comments (see the new project templates for example).'#10'You will need to manually create the new view in Application.OnInitialize.'#10#10'Warning: Could not find code/gameinitialize.pas .'#10'You will need to manually create the new view in Application.OnInitialize.' |
| 188 |
ParentColor = False |
| 189 |
WordWrap = True |
| 190 |
end |
| 191 |
object LabelFinalDesignFile: TLabel |
| 192 |
AnchorSideTop.Control = EditDesignDir |
| 193 |
AnchorSideTop.Side = asrBottom |
| 194 |
Left = 8 |
| 195 |
Height = 21 |
| 196 |
Top = 69 |
| 197 |
Width = 473 |
| 198 |
BorderSpacing.Top = 2 |
| 199 |
Caption = 'Final Design File: data/gamesomething.castle-user-interface' |
| 200 |
Font.Color = clBlue |
| 201 |
ParentColor = False |
| 202 |
ParentFont = False |
| 203 |
end |
| 204 |
end |
| 205 |
object PanelUnitClass: TPanel |
| 206 |
AnchorSideTop.Control = LabelFinalUnitFile |
| 207 |
AnchorSideTop.Side = asrBottom |
| 208 |
Left = 0 |
| 209 |
Height = 85 |
| 210 |
Top = 347 |
| 211 |
Width = 726 |
| 212 |
Anchors = [akTop, akLeft, akRight] |
| 213 |
BorderSpacing.Top = 8 |
| 214 |
BevelOuter = bvNone |
| 215 |
ClientHeight = 85 |
| 216 |
ClientWidth = 726 |
| 217 |
TabOrder = 5 |
| 218 |
object LabelClassName: TLabel |
| 219 |
AnchorSideTop.Side = asrBottom |
| 220 |
Left = 8 |
| 221 |
Height = 21 |
| 222 |
Top = 8 |
| 223 |
Width = 96 |
| 224 |
BorderSpacing.Top = 15 |
| 225 |
Caption = 'Class Name:' |
| 226 |
ParentColor = False |
| 227 |
end |
| 228 |
object EditClassName: TEdit |
| 229 |
AnchorSideLeft.Control = LabelClassName |
| 230 |
AnchorSideTop.Control = LabelClassName |
| 231 |
AnchorSideTop.Side = asrBottom |
| 232 |
Left = 8 |
| 233 |
Height = 38 |
| 234 |
Top = 37 |
| 235 |
Width = 706 |
| 236 |
Anchors = [akTop, akLeft, akRight] |
| 237 |
BorderSpacing.Top = 8 |
| 238 |
TabOrder = 0 |
| 239 |
Text = 'TSomething' |
| 240 |
end |
| 241 |
end |
| 242 |
object ButtonPanel1: TButtonPanel |
| 243 |
Left = 8 |
| 244 |
Height = 45 |
| 245 |
Top = 762 |
| 246 |
Width = 716 |
| 247 |
BorderSpacing.Around = 8 |
| 248 |
OKButton.Name = 'OKButton' |
| 249 |
OKButton.DefaultCaption = True |
| 250 |
HelpButton.Name = 'HelpButton' |
| 251 |
HelpButton.DefaultCaption = True |
| 252 |
CloseButton.Name = 'CloseButton' |
| 253 |
CloseButton.DefaultCaption = True |
| 254 |
CancelButton.Name = 'CancelButton' |
| 255 |
CancelButton.DefaultCaption = True |
| 256 |
TabOrder = 7 |
| 257 |
ShowButtons = [pbOK, pbCancel] |
| 258 |
end |
| 259 |
object LabelFinalUnitFile: TLabel |
| 260 |
AnchorSideLeft.Control = LabelCreateUnit |
| 261 |
AnchorSideTop.Control = EditUnitDir |
| 262 |
AnchorSideTop.Side = asrBottom |
| 263 |
Left = 8 |
| 264 |
Height = 21 |
| 265 |
Top = 318 |
| 266 |
Width = 318 |
| 267 |
BorderSpacing.Top = 2 |
| 268 |
Caption = 'Final Unit File: code/gamesomething.pas' |
| 269 |
Font.Color = clBlue |
| 270 |
ParentColor = False |
| 271 |
ParentFont = False |
| 272 |
end |
| 273 |
object LabelBaseName: TLabel |
| 274 |
AnchorSideLeft.Control = ComboUnitType |
| 275 |
AnchorSideTop.Control = ComboUnitType |
| 276 |
AnchorSideTop.Side = asrBottom |
| 277 |
Left = 8 |
| 278 |
Height = 21 |
| 279 |
Top = 85 |
| 280 |
Width = 468 |
| 281 |
BorderSpacing.Top = 15 |
| 282 |
Caption = 'Base Name (other names are derived from this, by default):' |
| 283 |
ParentColor = False |
| 284 |
end |
| 285 |
object EditBaseName: TEdit |
| 286 |
AnchorSideLeft.Control = LabelCreateUnit |
| 287 |
AnchorSideTop.Control = LabelBaseName |
| 288 |
AnchorSideTop.Side = asrBottom |
| 289 |
Left = 8 |
| 290 |
Height = 38 |
| 291 |
Top = 114 |
| 292 |
Width = 711 |
| 293 |
Anchors = [akTop, akLeft, akRight] |
| 294 |
BorderSpacing.Top = 8 |
| 295 |
OnChange = EditBaseNameChange |
| 296 |
TabOrder = 1 |
| 297 |
Text = 'Something' |
| 298 |
end |
| 299 |
object SelectDirectoryDialog1: TSelectDirectoryDialog |
| 300 |
Left = 482 |
| 301 |
Top = 93 |
| 302 |
end |
| 303 |
end |