Changeset 104 for trunk/LocalPlayer


Ignore:
Timestamp:
Jan 25, 2018, 11:03:52 PM (7 years ago)
Author:
chronos
Message:
Location:
trunk/LocalPlayer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/BaseWin.pas

    r103 r104  
    236236  ModalIndication := true;
    237237  Canvas.Brush.Style := bsClear;
    238   InnerWidth := ClientWidth - 2 * SideFrame;
    239   InnerHeight := ClientHeight - TitleHeight - NarrowFrame;
     238  InnerWidth := Width - 2 * SideFrame;
     239  InnerHeight := Height - TitleHeight - NarrowFrame;
    240240end;
    241241
  • trunk/LocalPlayer/Draft.pas

    r73 r104  
    8888  Back := TBitmap.Create;
    8989  Back.PixelFormat := pf24bit;
    90   Back.SetSize(ClientWidth, ClientHeight);
     90  Back.SetSize(Width, Height);
    9191  Back.Canvas.FillRect(0, 0, Back.Width, Back.Height);
    9292  Template := TBitmap.Create;
  • trunk/LocalPlayer/NatStat.pas

    r73 r104  
    8989  Back := TBitmap.Create;
    9090  Back.PixelFormat := pf24bit;
    91   Back.SetSize(ClientWidth, ClientHeight);
     91  Back.SetSize(Width, Height);
    9292  Back.Canvas.FillRect(0, 0, Back.Width, Back.Height);
    9393  Template := TBitmap.Create;
Note: See TracChangeset for help on using the changeset viewer.