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

    r38 r40  
    8080  Back := TBitmap.Create;
    8181  Back.PixelFormat := pf24bit;
    82   Back.Width := 5 * wCommon;
    83   Back.Height := hMax;
     82  Back.SetSize(5 * wCommon, hMax);
     83  Back.Canvas.FillRect(0, 0, Back.Width,Back.Height);
    8484  Template := TBitmap.Create;
    8585  LoadGraphicFile(Template, HomeDir + 'Graphics' + DirectorySeparator + 'Unit', gfNoGamma);
Note: See TracChangeset for help on using the changeset viewer.