- Timestamp:
- May 24, 2018, 8:01:20 PM (7 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormChat.lfm
r199 r212 7 7 ClientHeight = 441 8 8 ClientWidth = 527 9 DesignTimePPI = 120 9 DesignTimePPI = 144 10 OnCreate = FormCreate 11 OnShow = FormShow 10 12 LCLVersion = '1.8.2.0' 11 13 object MemoChat: TMemo 12 14 Left = 8 13 Height = 3 7414 Top = 2415 Height = 362 16 Top = 32 15 17 Width = 509 16 18 Anchors = [akTop, akLeft, akRight, akBottom] … … 21 23 object EditMessage: TEdit 22 24 Left = 8 23 Height = 2824 Top = 40625 Height = 36 26 Top = 398 25 27 Width = 411 26 28 Anchors = [akLeft, akRight, akBottom] … … 31 33 Left = 423 32 34 Height = 31 33 Top = 40 635 Top = 402 34 36 Width = 94 35 37 Anchors = [akRight, akBottom] … … 40 42 object Label1: TLabel 41 43 Left = 10 42 Height = 2 044 Height = 26 43 45 Top = 4 44 Width = 3346 Width = 44 45 47 Caption = 'Chat:' 46 48 ParentColor = False -
trunk/Forms/UFormChat.pas
r199 r212 20 20 procedure ButtonMessageSendClick(Sender: TObject); 21 21 procedure EditMessageKeyPress(Sender: TObject; var Key: char); 22 procedure FormCreate(Sender: TObject); 23 procedure FormShow(Sender: TObject); 22 24 private 23 25 … … 29 31 FormChat: TFormChat; 30 32 33 31 34 implementation 32 35 33 36 {$R *.lfm} 37 38 uses 39 UCore; 34 40 35 41 { TFormChat } … … 38 44 begin 39 45 if Key = #13 then ButtonMessageSend.Click; 46 end; 47 48 procedure TFormChat.FormCreate(Sender: TObject); 49 begin 50 Core.CoolTranslator1.TranslateComponentRecursive(Self); 51 end; 52 53 procedure TFormChat.FormShow(Sender: TObject); 54 begin 55 40 56 end; 41 57 -
trunk/Forms/UFormNew.lfm
r198 r212 1 1 object FormNew: TFormNew 2 Left = 3872 Left = 554 3 3 Height = 748 4 Top = 1 025 Width = 7954 Top = 149 5 Width = 1154 6 6 Caption = 'New game' 7 7 ClientHeight = 748 8 ClientWidth = 7958 ClientWidth = 1154 9 9 Constraints.MinHeight = 501 10 10 Constraints.MinWidth = 667 11 DesignTimePPI = 1 2011 DesignTimePPI = 144 12 12 OnClose = FormClose 13 13 OnCreate = FormCreate … … 18 18 object PageControl1: TPageControl 19 19 Left = 4 20 Height = 46120 Height = 695 21 21 Top = 4 22 Width = 7 8723 ActivePage = TabSheet 322 Width = 749 23 ActivePage = TabSheet2 24 24 Align = alClient 25 25 BorderSpacing.Around = 4 26 TabIndex = 326 TabIndex = 2 27 27 TabOrder = 0 28 28 object TabSheetMode: TTabSheet 29 29 Caption = 'Mode' 30 ClientHeight = 36231 ClientWidth = 69430 ClientHeight = 651 31 ClientWidth = 743 32 32 object RadioButtonModeLocal: TRadioButton 33 33 Left = 10 34 Height = 2434 Height = 30 35 35 Top = 14 36 Width = 5936 Width = 68 37 37 Caption = 'Local' 38 Checked = True 38 39 OnChange = RadioButtonModeLocalChange 39 40 TabOrder = 0 … … 41 42 object RadioButtonModeNetworkServer: TRadioButton 42 43 Left = 10 43 Height = 2444 Height = 30 44 45 Top = 48 45 Width = 1 2346 Width = 154 46 47 Caption = 'Network server' 47 48 OnChange = RadioButtonModeLocalChange … … 50 51 object RadioButtonModeNetworkClient: TRadioButton 51 52 Left = 10 52 Height = 2453 Height = 30 53 54 Top = 152 54 Width = 1 2055 Width = 149 55 56 Caption = 'Network client' 56 57 OnChange = RadioButtonModeLocalChange … … 59 60 object EditServerAddress: TEdit 60 61 Left = 24 61 Height = 2862 Height = 36 62 63 Top = 112 63 64 Width = 220 … … 66 67 object SpinEditServerPort: TSpinEdit 67 68 Left = 256 68 Height = 2869 Height = 36 69 70 Top = 112 70 71 Width = 79 … … 74 75 object Label11: TLabel 75 76 Left = 256 76 Height = 2 077 Height = 26 77 78 Top = 88 78 Width = 3079 Width = 41 79 80 Caption = 'Port:' 80 81 ParentColor = False … … 82 83 object Label12: TLabel 83 84 Left = 24 84 Height = 2 085 Height = 26 85 86 Top = 88 86 Width = 5687 Width = 74 87 88 Caption = 'Address:' 88 89 ParentColor = False … … 90 91 object ListViewServers: TListView 91 92 Left = 26 92 Height = 13093 Height = 419 93 94 Top = 181 94 95 Width = 334 … … 101 102 item 102 103 Caption = 'Address' 103 Width = 2 00104 Width = 214 104 105 end> 105 106 MultiSelect = True … … 118 119 Left = 27 119 120 Height = 31 120 Top = 323121 Top = 612 121 122 Width = 94 122 123 Action = AServerAdd … … 127 128 Left = 240 128 129 Height = 31 129 Top = 323130 Top = 612 130 131 Width = 94 131 132 Action = AServerRemove … … 136 137 Left = 136 137 138 Height = 30 138 Top = 323139 Top = 612 139 140 Width = 94 140 141 Action = AServerModify … … 145 146 object TabSheet1: TTabSheet 146 147 Caption = 'Players' 147 ClientHeight = 428148 ClientWidth = 7 79148 ClientHeight = 651 149 ClientWidth = 743 149 150 object ListViewPlayers: TListView 150 151 Left = 4 151 Height = 378152 Height = 601 152 153 Top = 4 153 Width = 7 71154 Width = 735 154 155 Align = alTop 155 156 Anchors = [akTop, akLeft, akRight, akBottom] … … 188 189 Left = 224 189 190 Height = 25 190 Top = 390191 Top = 613 191 192 Width = 83 192 193 Action = APlayerRemove … … 197 198 Left = 16 198 199 Height = 25 199 Top = 390200 Top = 613 200 201 Width = 83 201 202 Action = APlayerAdd … … 206 207 Left = 120 207 208 Height = 25 208 Top = 390209 Top = 613 209 210 Width = 83 210 211 Action = APlayerModify … … 216 217 object TabSheet2: TTabSheet 217 218 Caption = 'Map' 218 ClientHeight = 428219 ClientWidth = 7 79219 ClientHeight = 651 220 ClientWidth = 743 220 221 object Label1: TLabel 221 222 Left = 8 222 Height = 2 0223 Height = 26 223 224 Top = 9 224 Width = 74225 Width = 95 225 226 Caption = 'Map width:' 226 227 ParentColor = False … … 228 229 object Label2: TLabel 229 230 Left = 8 230 Height = 2 0231 Height = 26 231 232 Top = 57 232 Width = 79233 Width = 102 233 234 Caption = 'Map height:' 234 235 ParentColor = False … … 236 237 object SpinEditMapSizeX: TSpinEdit 237 238 Left = 128 238 Height = 28239 Height = 36 239 240 Top = 4 240 241 Width = 98 … … 246 247 object SpinEditMapSizeY: TSpinEdit 247 248 Left = 128 248 Height = 28249 Height = 36 249 250 Top = 55 250 251 Width = 98 … … 258 259 Height = 47 259 260 Top = 8 260 Width = 528261 Width = 492 261 262 Max = 100 262 263 Min = 2 … … 271 272 Height = 47 272 273 Top = 49 273 Width = 528274 Width = 492 274 275 Max = 100 275 276 Min = 2 … … 282 283 object Label5: TLabel 283 284 Left = 8 284 Height = 2 0285 Height = 26 285 286 Top = 104 286 Width = 64287 Width = 83 287 288 Caption = 'Grid type:' 288 289 ParentColor = False … … 290 291 object ComboBoxGridType: TComboBox 291 292 Left = 146 292 Height = 28293 Height = 36 293 294 Top = 104 294 295 Width = 208 295 ItemHeight = 20296 ItemHeight = 0 296 297 Items.Strings = ( 297 298 'Hexagonal' … … 304 305 object ComboBoxMapShape: TComboBox 305 306 Left = 146 306 Height = 28307 Height = 36 307 308 Top = 144 308 309 Width = 208 309 ItemHeight = 20310 ItemHeight = 0 310 311 Items.Strings = ( 311 312 'Hexagonal' … … 319 320 object Label8: TLabel 320 321 Left = 8 321 Height = 2 0322 Height = 26 322 323 Top = 144 323 Width = 76324 Width = 98 324 325 Caption = 'Map shape:' 325 326 ParentColor = False … … 329 330 Height = 27 330 331 Top = 110 331 Width = 2 91332 Width = 255 332 333 Anchors = [akTop, akLeft, akRight] 333 334 AutoSize = False … … 337 338 object SpinEditVoidPercent: TSpinEdit 338 339 Left = 216 339 Height = 28340 Height = 36 340 341 Top = 224 341 342 Width = 106 … … 346 347 object CheckBoxVoid: TCheckBox 347 348 Left = 8 348 Height = 24349 Height = 30 349 350 Top = 232 350 Width = 1 49351 Width = 187 351 352 Caption = 'Inaccessible places' 352 353 OnChange = CheckBoxVoidChange … … 355 356 object CheckBoxCity: TCheckBox 356 357 Left = 8 357 Height = 24358 Height = 30 358 359 Top = 272 359 Width = 60360 Width = 71 360 361 Caption = 'Cities' 361 362 OnChange = CheckBoxCityChange … … 364 365 object SpinEditCityPercent: TSpinEdit 365 366 Left = 216 366 Height = 28367 Height = 36 367 368 Top = 272 368 369 Width = 106 … … 373 374 object Label4: TLabel 374 375 Left = 331 375 Height = 2 0376 Height = 26 376 377 Top = 272 377 Width = 1 2378 Width = 15 378 379 Caption = '%' 379 380 ParentColor = False … … 381 382 object Label3: TLabel 382 383 Left = 331 383 Height = 2 0384 Height = 26 384 385 Top = 232 385 Width = 1 2386 Width = 15 386 387 Caption = '%' 387 388 ParentColor = False … … 389 390 object SpinEditNeutralUnits: TSpinEdit 390 391 Left = 408 391 Height = 28392 Height = 36 392 393 Top = 384 393 394 Width = 98 … … 398 399 object Label7: TLabel 399 400 Left = 8 400 Height = 2 0401 Height = 26 401 402 Top = 384 402 Width = 172403 Width = 227 403 404 Caption = 'Max random neutral units:' 404 405 ParentColor = False … … 406 407 object EditImageFile: TEdit 407 408 Left = 144 408 Height = 28409 Height = 36 409 410 Top = 184 410 Width = 512411 Width = 476 411 412 Anchors = [akTop, akLeft, akRight] 412 413 TabOrder = 12 413 414 end 414 415 object ButtonImageBrowse: TButton 415 Left = 6 64416 Left = 628 416 417 Height = 25 417 418 Top = 192 … … 424 425 object Label9: TLabel 425 426 Left = 8 426 Height = 2 0427 Height = 26 427 428 Top = 184 428 Width = 70429 Width = 90 429 430 Caption = 'Image file:' 430 431 ParentColor = False … … 432 433 object CheckBoxBridges: TCheckBox 433 434 Left = 8 434 Height = 24435 Height = 30 435 436 Top = 310 436 Width = 168437 Width = 210 437 438 Caption = 'Bridges between cells' 438 439 TabOrder = 14 … … 440 441 object SpinEditMaxPower: TSpinEdit 441 442 Left = 408 442 Height = 28443 Height = 36 443 444 Top = 344 444 445 Width = 98 … … 451 452 object Label10: TLabel 452 453 Left = 8 453 Height = 2 0454 Height = 26 454 455 Top = 344 455 Width = 1 19456 Width = 156 456 457 Caption = 'Max units per cell:' 457 458 ParentColor = False … … 460 461 object TabSheet3: TTabSheet 461 462 Caption = 'Rules' 462 ClientHeight = 428463 ClientWidth = 7 79463 ClientHeight = 651 464 ClientWidth = 743 464 465 object RadioGroupGrowCells: TRadioGroup 465 466 Left = 15 … … 476 477 ChildSizing.Layout = cclLeftToRightThenTopToBottom 477 478 ChildSizing.ControlsPerLine = 1 478 ClientHeight = 80479 ClientHeight = 77 479 480 ClientWidth = 308 480 481 Items.Strings = ( … … 487 488 object Label6: TLabel 488 489 Left = 8 489 Height = 2 0490 Height = 26 490 491 Top = 248 491 Width = 94492 Width = 120 492 493 Caption = 'Win objective:' 493 494 ParentColor = False 494 495 end 495 496 object ComboBoxWinObjective: TComboBox 496 Left = 2 32497 Height = 28498 Top = 24 0497 Left = 224 498 Height = 36 499 Top = 244 499 500 Width = 328 500 ItemHeight = 20501 ItemHeight = 0 501 502 Items.Strings = ( 502 503 'Defeat all oponents' … … 523 524 ChildSizing.Layout = cclLeftToRightThenTopToBottom 524 525 ChildSizing.ControlsPerLine = 1 525 ClientHeight = 51526 ClientHeight = 48 526 527 ClientWidth = 301 527 528 Items.Strings = ( … … 535 536 Height = 27 536 537 Top = 24 537 Width = 619538 Width = 583 538 539 Anchors = [akTop, akLeft, akRight] 539 540 AutoSize = False … … 544 545 Left = 12 545 546 Height = 78 546 Top = 2 74547 Width = 7 56547 Top = 290 548 Width = 720 548 549 ActivePage = TabSheetCaptureCities 549 550 Anchors = [akTop, akLeft, akRight] … … 556 557 end 557 558 object TabSheetCaptureCells: TTabSheet 558 ClientHeight = 7 0559 ClientWidth = 7 48559 ClientHeight = 72 560 ClientWidth = 714 560 561 object Label14: TLabel 561 562 Left = 8 … … 578 579 end 579 580 object TabSheetStayAliveTurns: TTabSheet 580 ClientHeight = 7 0581 ClientWidth = 7 48581 ClientHeight = 72 582 ClientWidth = 714 582 583 object Label13: TLabel 583 584 Left = 8 … … 606 607 Height = 45 607 608 Top = 703 608 Width = 795609 Width = 1154 609 610 Align = alBottom 610 611 BevelOuter = bvNone 611 612 ClientHeight = 45 612 ClientWidth = 795613 ClientWidth = 1154 613 614 TabOrder = 1 614 615 object ButtonOk: TButton 615 Left = 607616 Left = 966 616 617 Height = 25 617 618 Top = 6 … … 623 624 end 624 625 object ButtonCancel: TButton 625 Left = 711626 Left = 1070 626 627 Height = 25 627 628 Top = 6 … … 634 635 end 635 636 object PanelChat: TPanel 636 Left = 0637 Height = 228638 Top = 475639 Width = 795640 Align = al Bottom637 Left = 763 638 Height = 703 639 Top = 0 640 Width = 391 641 Align = alRight 641 642 BevelOuter = bvNone 642 643 TabOrder = 2 643 644 end 644 645 object Splitter1: TSplitter 645 Cursor = crVSplit 646 Left = 0 647 Height = 6 648 Top = 469 649 Width = 795 650 Align = alBottom 651 ResizeAnchor = akBottom 646 Left = 757 647 Height = 703 648 Top = 0 649 Width = 6 650 Align = alRight 651 ResizeAnchor = akRight 652 652 end 653 653 object ActionList1: TActionList
Note:
See TracChangeset
for help on using the changeset viewer.