Changeset 145 for trunk/Packages


Ignore:
Timestamp:
Nov 12, 2017, 1:47:20 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Do not create settings form on application start but just if form is opened.
  • Fixed: Removed various compilation warnings.
File:
1 edited

Legend:

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

    r116 r145  
    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.