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/Draft.pas

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