lazarus/examples/canvas_test/canvastest.lpr
paul 149d3a219a examples: correct canvas_test example:
- fix screenshot example bug (use GetDC(0) instead of DC = 0)
  - fix image example - clear LazIntfImage before experiments (part of issue #0019123)
  - remove all .lrs, .rc files and use .lfm, .res instead

git-svn-id: trunk@30244 -
2011-04-08 09:15:38 +00:00

32 lines
933 B
ObjectPascal

program canvastest;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms
{ you can add units after this }, canvastestunit, LResources, pentest,
brushtest, fonttest, rectanglestest, shapedwindowtest, ellipseunit,
screenshotunit, drawtest, imagetest;
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TfrmCanvasTest, frmCanvasTest);
Application.CreateForm(TfrmPen, frmPen);
Application.CreateForm(TfrmBrush, frmBrush);
Application.CreateForm(TfrmFont, frmFont);
Application.CreateForm(TfrmRectangles, frmRectangles);
Application.CreateForm(TfrmShapedWindow, frmShapedWindow);
Application.CreateForm(TfrmScreenshot, frmScreenshot);
Application.CreateForm(TfrmEllipse, frmEllipse);
Application.CreateForm(TfrmDraw, frmDraw);
Application.CreateForm(TfrmImage, frmImage);
Application.Run;
end.