Ignore:
Timestamp:
Jun 25, 2024, 10:49:43 AM (4 months ago)
Author:
chronos
Message:
  • Modified: Build with Lazarus 3.4.
  • Modified: Removed U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • GraphicTest/Forms/FormMain.pas

    r572 r573  
    1 unit UFormMain;
    2 
    3 {$mode delphi}{$H+}
     1unit FormMain;
    42
    53interface
     
    75uses
    86  Classes, SysUtils, LazFileUtils, SynHighlighterPas, SynMemo, Forms, Controls,
    9   Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls, DateUtils, UPlatform,
     7  Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls, DateUtils, Platform,
    108  LCLType, IntfGraphics, fpImage, Math, GraphType, Contnrs, LclIntf, Spin,
    11   ActnList, Menus, StdActns, UFastBitmap, UDrawMethod, typinfo;
     9  ActnList, Menus, StdActns, FastBitmap, DrawMethod, TypInfo, FormDraw;
    1210
    1311const
     
    107105    Scenes: TObjectList; // TObjectList<TFastBitmap>
    108106    SceneIndex: Integer;
     107    FormDraw: TFormDraw;
    109108    property CurrentMethod: TDrawMethod read FCurrentMethod;
    110109  end;
     
    113112  FormMain: TFormMain;
    114113
     114
    115115implementation
    116116
     
    118118
    119119uses
    120   UFormDraw, UMethodLazIntfImageColorsCopy, UMethodLazIntfImageColorsNoCopy, UMethodCanvasPixels,
    121   UMethodCanvasPixelsUpdateLock, UMethodBGRABitmap, UMethodBitmapRawImageDataPaintBox,
    122   UMethodBitmapRawImageData, UMethodBitmapRawImageDataMove, UMethodDummy, UMethodOpenGL,
    123   UMethodOpenGLPBO{$IFDEF GRAPHICS32}, UGraphics32Method{$ENDIF},
    124   UMethodBitmapScanline, UMethodMove;
     120  MethodLazIntfImageColorsCopy, MethodLazIntfImageColorsNoCopy,
     121  MethodCanvasPixels, MethodCanvasPixelsUpdateLock, MethodBGRABitmap,
     122  MethodBitmapRawImageDataPaintBox, MethodBitmapRawImageData,
     123  MethodBitmapRawImageDataMove, MethodDummy, MethodOpenGL,
     124  MethodOpenGLPBO{$IFDEF GRAPHICS32}, UGraphics32Method{$ENDIF},
     125  MethodBitmapScanline, MethodMove;
    125126
    126127{ TFormMain }
     
    132133  PF: TPixelFormat;
    133134begin
     135  FormDraw := TFormDraw.Create(nil);
     136
    134137  Scenes := TObjectList.Create;
    135138
     
    294297  FreeAndNil(DrawMethods);
    295298  FreeAndNil(Scenes);
     299  FreeAndNil(FormDraw);
    296300end;
    297301
Note: See TracChangeset for help on using the changeset viewer.