Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/FontDemo.layout @ 6126

Last change on this file since 6126 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3<Window Type="DefaultGUISheet" Name="root">
4    <Window Type="TaharezLook/FrameWindow" Name="FontDemo/Window">
5        <Property Name="UnifiedPosition" Value="{{0.1,0},{0.1,0}}" />
6        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
7        <Property Name="UnifiedMinSize" Value="{{0,128},{0,128}}" />
8        <Property Name="UnifiedSize" Value="{{0.8,0},{0.8,0}}" />
9        <Property Name="Text" Value="Font Demo" />
10        <Property Name="Tooltip" Value="This is a simple demonstration of what the font subsystem can do." />
11
12        <Window Type="TaharezLook/MultiLineEditbox" Name="FontDemo/FontSample">
13            <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.75,0},{0.5,0}}" />
14            <Property Name="Tooltip" Value="This window shows a sample of the selected font" />
15                        <Property Name="WordWrap" Value="True" />
16        </Window>
17
18        <Window Type="TaharezLook/Listbox" Name="FontDemo/LangList">
19            <Property Name="UnifiedAreaRect" Value="{{0.8,0},{0.1,0},{0.95,0},{0.5,0}}" />
20            <Property Name="Tooltip" Value="Contains a list of languages to select sample text from" />
21        </Window>
22
23        <Window Type="TaharezLook/Listbox" Name="FontDemo/FontList">
24            <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.45,0},{0.95,0}}" />
25            <Property Name="Tooltip" Value="This listbox shows a list of available fonts to experiment with" />
26        </Window>
27
28        <Window Type="TaharezLook/StaticText" Name="FontDemo/FontDesc" >
29            <Property Name="FrameEnabled" Value="False" />
30            <Property Name="HorzFormatting" Value="WordWrapCentred" />
31            <Property Name="VertFormatting" Value="CentreAligned" />
32            <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.55,0},{0.95,0},{0.65,0}}" />
33            <Property Name="BackgroundEnabled" Value="False" />
34        </Window>
35
36        <Window Type="TaharezLook/Checkbox" Name="FontDemo/AutoScaled" >
37            <Property Name="Text" Value="Auto scale font to current resolution" />
38            <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.7,0},{0.95,0},{0.75,0}}" />
39            <Property Name="Tooltip" Value="Choose between autoscaled/non-autoscaled font versions" />
40        </Window>
41
42        <Window Type="TaharezLook/Checkbox" Name="FontDemo/Antialiased" >
43            <Property Name="Text" Value="Antialias the font for smoother look" />
44            <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.8,0},{0.95,0},{0.85,0}}" />
45            <Property Name="Tooltip" Value="Choose between antialiased/non-antialiased font versions" />
46        </Window>
47
48        <Window Type="TaharezLook/HorizontalScrollbar" Name="FontDemo/PointSize" >
49            <Property Name="DocumentSize" Value="72" />
50            <Property Name="PageSize" Value="1" />
51            <Property Name="StepSize" Value="1" />
52            <Property Name="OverlapSize" Value="0" />
53            <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.9,0},{0.95,0},{0.9,12}}" />
54            <Property Name="Tooltip" Value="Changes font point size" />
55        </Window>
56    </Window>
57</Window>
58</GUILayout>
Note: See TracBrowser for help on using the repository browser.