Changeset 573 for GraphicTest/DrawMethod.pas
- Timestamp:
- Jun 25, 2024, 10:49:43 AM (4 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/DrawMethod.pas
r572 r573 1 unit UDrawMethod; 2 3 {$mode delphi}{$H+} 1 unit DrawMethod; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, ExtCtrls, UPlatform, UFastBitmap, Graphics, Controls,6 Classes, SysUtils, ExtCtrls, Platform, FastBitmap, Graphics, Controls, 9 7 LCLType, IntfGraphics, fpImage, GraphType, DateUtils, Forms, 10 8 {$IFDEF OPENGL}GL, GLExt, OpenGLContext,{$ENDIF} … … 13 11 type 14 12 TPaintObject = (poImage, poPaintBox, poOpenGL, poCanvas); 15 16 13 17 14 { TDrawMethod } … … 98 95 procedure TDrawMethodCanvas.UpdateSettings; 99 96 begin 100 inherited UpdateSettings;97 inherited; 101 98 end; 102 99 … … 109 106 procedure TDrawMethodCanvas.Done; 110 107 begin 111 inherited Done; 112 end; 113 108 inherited; 109 end; 114 110 115 111 { TDrawMethodPaintBox } … … 117 113 procedure TDrawMethodPaintBox.Paint(Sender: TObject); 118 114 begin 119 120 115 end; 121 116 122 117 procedure TDrawMethodPaintBox.UpdateSettings; 123 118 begin 124 inherited UpdateSettings;119 inherited; 125 120 PaintBox.ControlStyle := FParent.ControlStyle; 126 121 end; … … 140 135 begin 141 136 FreeAndNil(PaintBox); 142 inherited Done;137 inherited; 143 138 end; 144 139 … … 166 161 begin 167 162 FreeAndNil(Image); 168 inherited Done; 169 end; 170 163 inherited; 164 end; 171 165 172 166 {$IFDEF OPENGL} … … 204 198 procedure TDrawMethodOpenGL.UpdateSettings; 205 199 begin 206 inherited UpdateSettings;200 inherited; 207 201 OpenGLControl.ControlStyle := FParent.ControlStyle; 208 202 end; … … 230 224 {$ENDIF} 231 225 232 233 226 { TDrawMethod } 234 227 … … 253 246 procedure TDrawMethod.Done; 254 247 begin 255 256 248 end; 257 249 … … 269 261 procedure TDrawMethod.DrawFrame(FastBitmap: TFastBitmap); 270 262 begin 271 272 263 end; 273 264
Note:
See TracChangeset
for help on using the changeset viewer.