source: trunk/Methods/UMethodDummy.pas

Last change on this file was 2, checked in by chronos, 5 years ago
File size: 643 bytes
Line 
1unit UMethodDummy;
2
3{$mode delphi}
4
5interface
6
7uses
8 Classes, SysUtils, UDrawMethod, UFastBitmap;
9
10type
11 { TMethodDummy }
12
13 TMethodDummy = class(TDrawMethod)
14 constructor Create; override;
15 procedure DrawFrame(FastBitmap: TFastBitmap); override;
16 end;
17
18
19implementation
20
21{ TMethodDummy }
22
23constructor TMethodDummy.Create;
24begin
25 inherited Create;
26 Caption := 'Dummy';
27 Description.Add('This method doesn''t draw anything. It''s purpose is to measure ' +
28 'and compare speed of system and event handling.');
29end;
30
31procedure TMethodDummy.DrawFrame(FastBitmap: TFastBitmap);
32begin
33end;
34
35
36end.
37
Note: See TracBrowser for help on using the repository browser.