Line | |
---|
1 | unit UMethodDummy;
|
---|
2 |
|
---|
3 | {$mode delphi}
|
---|
4 |
|
---|
5 | interface
|
---|
6 |
|
---|
7 | uses
|
---|
8 | Classes, SysUtils, UDrawMethod, UFastBitmap;
|
---|
9 |
|
---|
10 | type
|
---|
11 | { TMethodDummy }
|
---|
12 |
|
---|
13 | TMethodDummy = class(TDrawMethod)
|
---|
14 | constructor Create; override;
|
---|
15 | procedure DrawFrame(FastBitmap: TFastBitmap); override;
|
---|
16 | end;
|
---|
17 |
|
---|
18 |
|
---|
19 | implementation
|
---|
20 |
|
---|
21 | { TMethodDummy }
|
---|
22 |
|
---|
23 | constructor TMethodDummy.Create;
|
---|
24 | begin
|
---|
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.');
|
---|
29 | end;
|
---|
30 |
|
---|
31 | procedure TMethodDummy.DrawFrame(FastBitmap: TFastBitmap);
|
---|
32 | begin
|
---|
33 | end;
|
---|
34 |
|
---|
35 |
|
---|
36 | end.
|
---|
37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.