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/DrawMethod.pas

    r572 r573  
    1 unit UDrawMethod;
    2 
    3 {$mode delphi}{$H+}
     1unit DrawMethod;
    42
    53interface
    64
    75uses
    8   Classes, SysUtils, ExtCtrls, UPlatform, UFastBitmap, Graphics, Controls,
     6  Classes, SysUtils, ExtCtrls, Platform, FastBitmap, Graphics, Controls,
    97  LCLType, IntfGraphics, fpImage, GraphType, DateUtils, Forms,
    108  {$IFDEF OPENGL}GL, GLExt, OpenGLContext,{$ENDIF}
     
    1311type
    1412  TPaintObject = (poImage, poPaintBox, poOpenGL, poCanvas);
    15 
    1613
    1714  { TDrawMethod }
     
    9895procedure TDrawMethodCanvas.UpdateSettings;
    9996begin
    100   inherited UpdateSettings;
     97  inherited;
    10198end;
    10299
     
    109106procedure TDrawMethodCanvas.Done;
    110107begin
    111   inherited Done;
    112 end;
    113 
     108  inherited;
     109end;
    114110
    115111{ TDrawMethodPaintBox }
     
    117113procedure TDrawMethodPaintBox.Paint(Sender: TObject);
    118114begin
    119 
    120115end;
    121116
    122117procedure TDrawMethodPaintBox.UpdateSettings;
    123118begin
    124   inherited UpdateSettings;
     119  inherited;
    125120  PaintBox.ControlStyle := FParent.ControlStyle;
    126121end;
     
    140135begin
    141136  FreeAndNil(PaintBox);
    142   inherited Done;
     137  inherited;
    143138end;
    144139
     
    166161begin
    167162  FreeAndNil(Image);
    168   inherited Done;
    169 end;
    170 
     163  inherited;
     164end;
    171165
    172166{$IFDEF OPENGL}
     
    204198procedure TDrawMethodOpenGL.UpdateSettings;
    205199begin
    206   inherited UpdateSettings;
     200  inherited;
    207201  OpenGLControl.ControlStyle := FParent.ControlStyle;
    208202end;
     
    230224{$ENDIF}
    231225
    232 
    233226{ TDrawMethod }
    234227
     
    253246procedure TDrawMethod.Done;
    254247begin
    255 
    256248end;
    257249
     
    269261procedure TDrawMethod.DrawFrame(FastBitmap: TFastBitmap);
    270262begin
    271 
    272263end;
    273264
Note: See TracChangeset for help on using the changeset viewer.