Changeset 88 for trunk/Packages


Ignore:
Timestamp:
Aug 29, 2017, 10:33:39 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Enabled DPI scaling.
  • Modified: Moved ImageListMain to Core unit and introduced Core Init method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/UScaleDPI.pas

    r74 r88  
    226226    Temp[I] := TBitmap.Create;
    227227    Temp[I].SetSize(NewWidth, NewHeight);
     228    {$ifdef linux}
     229    Temp[I].PixelFormat := pf24bit;
     230    {$else}
    228231    Temp[I].PixelFormat := pf32bit;
     232    {$endif}
    229233    Temp[I].TransparentColor := TempBmp.TransparentColor;
    230234    //Temp[I].TransparentMode := TempBmp.TransparentMode;
Note: See TracChangeset for help on using the changeset viewer.