Ignore:
Timestamp:
Dec 22, 2016, 5:07:02 PM (8 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r14 r26  
    77uses
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Spin,
    9   StdCtrls, ActnList, UGraphic;
     9  StdCtrls, ActnList, UFGraphics;
    1010
    1111type
     
    4545procedure TFormNew.SpinEditWidthChange(Sender: TObject);
    4646var
    47   ColorFormat: TGColorFormat;
     47  ColorFormat: TColorFormat;
    4848begin
    49   ColorFormat := ColorManager.Formats[ComboBoxColorFormat.ItemIndex];
     49  ColorFormat := ColorFormatManager.Formats[ComboBoxColorFormat.ItemIndex];
    5050  LabelMemRequire.Caption := IntToStr(SpinEditWidth.Value * SpinEditHeight.Value *
    5151    ColorFormat.BitDepth div 8) + ' bytes';
     
    5454procedure TFormNew.FormShow(Sender: TObject);
    5555var
    56   ColorFormat: TGColorFormat;
     56  ColorFormat: TColorFormat;
    5757  I: Integer;
    5858begin
    5959  ComboBoxColorFormat.Clear;
    60   for I := 0 to ColorManager.FormatCount - 1 do begin
    61     ColorFormat := ColorManager.Formats[I];
     60  for I := 0 to ColorFormatManager.FormatCount - 1 do begin
     61    ColorFormat := ColorFormatManager.Formats[I];
    6262    ComboBoxColorFormat.AddItem(ColorFormat.Name, nil);
    6363  end;
Note: See TracChangeset for help on using the changeset viewer.