Changeset 573 for GraphicTest/Forms
- Timestamp:
- Jun 25, 2024, 10:49:43 AM (5 months ago)
- Location:
- GraphicTest/Forms
- Files:
-
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/Forms/FormDraw.pas
r572 r573 1 unit UFormDraw; 2 3 {$mode delphi} 1 unit FormDraw; 4 2 5 3 interface … … 23 21 end; 24 22 25 var26 FormDraw: TFormDraw;27 23 28 24 implementation … … 38 34 begin 39 35 if EraseBackgroundEnabled then 40 inherited EraseBackground(DC);36 inherited; 41 37 end; 42 38 43 39 initialization 44 {$I UFormDraw.lrs}40 {$I FormDraw.lrs} 45 41 46 42 end. -
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.