Changeset 573 for GraphicTest/Forms/FormMain.pas
- Timestamp:
- Jun 25, 2024, 10:49:43 AM (4 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Forms/FormMain.pas
r572 r573 1 unit UFormMain; 2 3 {$mode delphi}{$H+} 1 unit FormMain; 4 2 5 3 interface … … 7 5 uses 8 6 Classes, SysUtils, LazFileUtils, SynHighlighterPas, SynMemo, Forms, Controls, 9 Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls, DateUtils, UPlatform,7 Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls, DateUtils, Platform, 10 8 LCLType, IntfGraphics, fpImage, Math, GraphType, Contnrs, LclIntf, Spin, 11 ActnList, Menus, StdActns, UFastBitmap, UDrawMethod, typinfo;9 ActnList, Menus, StdActns, FastBitmap, DrawMethod, TypInfo, FormDraw; 12 10 13 11 const … … 107 105 Scenes: TObjectList; // TObjectList<TFastBitmap> 108 106 SceneIndex: Integer; 107 FormDraw: TFormDraw; 109 108 property CurrentMethod: TDrawMethod read FCurrentMethod; 110 109 end; … … 113 112 FormMain: TFormMain; 114 113 114 115 115 implementation 116 116 … … 118 118 119 119 uses 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; 125 126 126 127 { TFormMain } … … 132 133 PF: TPixelFormat; 133 134 begin 135 FormDraw := TFormDraw.Create(nil); 136 134 137 Scenes := TObjectList.Create; 135 138 … … 294 297 FreeAndNil(DrawMethods); 295 298 FreeAndNil(Scenes); 299 FreeAndNil(FormDraw); 296 300 end; 297 301
Note:
See TracChangeset
for help on using the changeset viewer.