Ignore:
Timestamp:
Jan 9, 2017, 8:28:51 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: More bitmaps to solve black background problem.
  • Fixed: Bad drawing of gradient lines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/NatStat.pas

    r38 r40  
    8989  Back := TBitmap.Create;
    9090  Back.PixelFormat := pf24bit;
    91   Back.Width := ClientWidth;
    92   Back.Height := ClientHeight;
     91  Back.SetSize(ClientWidth, ClientHeight);
     92  Back.Canvas.FillRect(0, 0, Back.Width, Back.Height);
    9393  Template := TBitmap.Create;
    9494  LoadGraphicFile(Template, HomeDir + 'Graphics' + DirectorySeparator + 'Nation', gfNoGamma);
Note: See TracChangeset for help on using the changeset viewer.