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