Last change
on this file was 469, checked in by chronos, 10 years ago |
- Added: Different ScaleDPI scaling approach which use stored dimensions and then apply scaling against stored dimensions. So AutoSizing problem with some controls are solved.
|
File size:
425 bytes
|
Line | |
---|
1 | program ScaleDPI;
|
---|
2 |
|
---|
3 | {$mode objfpc}{$H+}
|
---|
4 |
|
---|
5 | uses
|
---|
6 | {$IFDEF UNIX}{$IFDEF UseCThreads}
|
---|
7 | cthreads,
|
---|
8 | {$ENDIF}{$ENDIF}
|
---|
9 | Interfaces, // this includes the LCL widgetset
|
---|
10 | Forms, UFormMain, Common, UFormTest
|
---|
11 | { you can add units after this };
|
---|
12 |
|
---|
13 | {$R *.res}
|
---|
14 |
|
---|
15 | begin
|
---|
16 | RequireDerivedFormResource := True;
|
---|
17 | Application.Initialize;
|
---|
18 | Application.CreateForm(TForm1, Form1);
|
---|
19 | Application.CreateForm(TForm2, Form2);
|
---|
20 | Application.Run;
|
---|
21 | end.
|
---|
22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.