blob: 2f79d9859a3ff27af3296604d57585a4991ded7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
-- Programmed by Jedidiah Barber
-- Released into the public domain
with
Ada.Text_IO,
FLTK.Devices.Surface.Paged;
procedure Page_Formats is
package TIO renames Ada.Text_IO;
package PD renames FLTK.Devices.Surface.Paged;
begin
for Format in PD.Page_Formats'Range loop
TIO.Put_Line (PD.Page_Formats (Format).Name);
TIO.Put_Line (Integer'Image (PD.Page_Formats (Format).Width));
TIO.Put_Line (Integer'Image (PD.Page_Formats (Format).Height));
TIO.New_Line;
end loop;
end Page_Formats;
|