Changeset 69 for trunk/Forms
- Timestamp:
- Sep 28, 2014, 5:42:51 PM (10 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r62 r69 5 5 Width = 775 6 6 Caption = 'xTactics' 7 ClientHeight = 6007 ClientHeight = 595 8 8 ClientWidth = 775 9 9 Menu = MainMenu1 … … 13 13 OnDestroy = FormDestroy 14 14 OnShow = FormShow 15 LCLVersion = '1. 0.10.0'15 LCLVersion = '1.3' 16 16 WindowState = wsMaximized 17 17 object PaintBox1: TPaintBox 18 18 Left = 40 19 Height = 5 7919 Height = 569 20 20 Top = 0 21 21 Width = 735 … … 32 32 object StatusBar1: TStatusBar 33 33 Left = 0 34 Height = 2 135 Top = 5 7934 Height = 26 35 Top = 569 36 36 Width = 775 37 37 Panels = < … … 49 49 object ToolBar1: TToolBar 50 50 Left = 0 51 Height = 5 7951 Height = 569 52 52 Top = 0 53 53 Width = 40 … … 87 87 object ToolButton6: TToolButton 88 88 Left = 1 89 Top = 1 9489 Top = 172 90 90 Action = AZoomIn 91 91 end 92 92 object ToolButton7: TToolButton 93 93 Left = 1 94 Top = 2 2694 Top = 204 95 95 Action = AZoomOut 96 96 end 97 97 object ToolButton8: TToolButton 98 98 Left = 1 99 Top = 2 5899 Top = 236 100 100 Action = AZoomAll 101 101 end -
trunk/Forms/UFormMain.pas
r62 r69 343 343 procedure TFormMain.PaintBox1MouseUp(Sender: TObject; Button: TMouseButton; 344 344 Shift: TShiftState; X, Y: Integer); 345 begin 346 if (Abs(StartMousePoint.X - X) < 5) and (Abs(StartMousePoint.Y - Y) < 5) then begin 345 const 346 MouseMinDiff = 10; 347 begin 348 if (Abs(StartMousePoint.X - X) < MouseMinDiff) and (Abs(StartMousePoint.Y - Y) < MouseMinDiff) then begin 347 349 if Core.Game.Running and (Core.Game.CurrentPlayer.Mode = pmHuman) then begin 348 350 Core.Game.CurrentPlayer.View.SelectCell(Point(X, Y), Core.Game.CurrentPlayer);
Note:
See TracChangeset
for help on using the changeset viewer.