Changeset 8 for trunk/UCore.pas


Ignore:
Timestamp:
Sep 19, 2014, 9:47:22 AM (10 years ago)
Author:
chronos
Message:
  • Modified: To support generic custom user defined runtime color formats TGColor have to reference directly TGColorFormat class. Also it is faster as we don't need to create instance of TGColorFormat from TGColorFormatClass.

But used color formats can't be freed or their parameters modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r7 r8  
    7474begin
    7575  if FormNew.ShowModal = mrOk then begin
    76     Project.Bitmap.ColorFormat := TGColorFormat;
     76    Project.Bitmap.ColorFormat := TGColorFormat.Create;
    7777
    7878    Project.FileName := 'New image';
Note: See TracChangeset for help on using the changeset viewer.