Changeset 241 for trunk/Forms


Ignore:
Timestamp:
Sep 21, 2018, 1:22:52 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Draw cell links under cells in cyclic map mode.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormClient.lfm

    r223 r241  
    77  ClientHeight = 621
    88  ClientWidth = 775
    9   DesignTimePPI = 144
     9  DesignTimePPI = 120
    1010  OnClose = FormClose
    1111  OnCreate = FormCreate
     
    1313  OnKeyUp = FormKeyUp
    1414  OnShow = FormShow
    15   LCLVersion = '1.8.4.0'
     15  LCLVersion = '1.8.2.0'
    1616  WindowState = wsMaximized
    1717  object StatusBar1: TStatusBar
    1818    Left = 0
    19     Height = 30
    20     Top = 591
     19    Height = 28
     20    Top = 593
    2121    Width = 775
    2222    Panels = <   
     
    3434  object ToolBar1: TToolBar
    3535    Left = 0
    36     Height = 591
     36    Height = 593
    3737    Top = 0
    3838    Width = 32
     
    8080  object PaintBox1: TPaintBox
    8181    Left = 32
    82     Height = 591
     82    Height = 593
    8383    Top = 0
    8484    Width = 743
  • trunk/Forms/UFormClient.pas

    r237 r241  
    214214              )
    215215            );
     216            Client.DrawCellLinks(PaintBox1.Canvas, TempView);
     217          end;
     218        end;
     219        for Y := 0 to CountP.Y do begin
     220          for X := 0 to CountP.X do begin
     221            TempView.Assign(View);
     222            TempView.DestRect := TRect.Create(
     223              TPoint.Create(
     224                -StartP.X + R.Size.X * X,
     225                -StartP.Y + R.Size.Y * Y
     226              ),
     227              TPoint.Create(
     228                -StartP.X + R.Size.X * X + View.DestRect.Size.X,
     229                -StartP.Y + R.Size.Y * Y + View.DestRect.Size.Y
     230              )
     231            );
    216232            Client.Paint(PaintBox1.Canvas, TempView);
    217233          end;
     
    235251        TempView.Free;
    236252      end else
     253      Client.DrawCellLinks(PaintBox1.Canvas, View);
    237254      Client.Paint(PaintBox1.Canvas, View);
    238255      Client.DrawArrows(PaintBox1.Canvas, View);
Note: See TracChangeset for help on using the changeset viewer.