mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-09 02:52:48 +02:00

- 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 -
32 lines
933 B
ObjectPascal
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.
|
|
|