Ignore:
Timestamp:
Mar 18, 2021, 10:58:28 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Gamma was incorrectly applied to images with transparency colors.
  • Modified: Change Templates to GraphicSet so it can also have description of its items.
  • Modified: Use TextExtent instead of both TextWidth and TextHeight.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/UGraphicSet.pas

    r314 r315  
    6060    function SearchByName(Name: string): TGraphicSet;
    6161    function AddNew(Name: string): TGraphicSet;
     62    procedure ResetPixUsed;
    6263  end;
    6364
     
    259260end;
    260261
     262procedure TGraphicSets.ResetPixUsed;
     263var
     264  I: Integer;
     265begin
     266  for I := 0 to Count - 1 do
     267    Items[I].ResetPixUsed;
     268end;
     269
    261270end.
    262271
Note: See TracChangeset for help on using the changeset viewer.