blob: 536fb3e9ff53dca78afbc4037cb995c32f54b1f9 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
<?xml version="1.0"?>
<Group Name="MainGrp"
Width="800" Height="500"
Background="0,5;0,5;0,5;0,5" Foreground="White"
Margin="10" >
<Border Margin="10" CornerRadius="10"
Name="mainBorder"
BorderWidth="2" Foreground="Transparent"
Focusable="True"
MouseEnter="{Foreground = White}"
MouseLeave="{Foreground = Transparent}">
<HorizontalStack WidgetSpacing="1">
<VerticalStack Width="-1">
<HorizontalStack WidgetSpacing="1" Fit="true">
<VerticalStack Fit="true">
<Label Text="{MousePosition}"/>
<HorizontalStack Name="hsFocus" Fit="true">
<Label Text="Focused:"/>
<Label Name="labFocus"/>
</HorizontalStack>
<HorizontalStack Fit="true">
<Label Text="Active:" Name="hsActive"/>
<Label Name="labActive"/>
</HorizontalStack>
<HorizontalStack Fit="true">
<Label Text="Hover:" Name="hsHover"/>
<Label Name="labHover"/>
</HorizontalStack>
</VerticalStack>
<VerticalStack Fit="true">
<CheckBox Name="chk1"/>
<CheckBox Name="chk2" IsChecked="true"/>
</VerticalStack>
<VerticalStack Fit="true">
<RadioButton IsChecked="true"/>
<RadioButton/>
<Button MouseClick="onButClick"/>
</VerticalStack>
</HorizontalStack>
<TextBox Name="textbox1" TextAlignment="Left" Font="droid,14"
Width="200" Height="-1" Margin="2" Background="White"
Forground="Black"
Foreground="DimGray" BorderWidth="1"
Text="editable text"/>
<Popper Width="100">
<Border Fit="True" Background="ArmyGreen">
<Image Margin="10" Fit="true" Path="#Crow.Images.Icons.tetra.png"/>
</Border>
</Popper>
</VerticalStack>
<VerticalStack Fit="true" Margin="0" WidgetSpacing="1">
<Button Margin="1" Width="150" Height="100">
<Image Path="#Tests.image.tetra.png"/>
</Button>
<Popper Width="100">
<Border Fit="True" Background="ArmyGreen">
<Image Margin="10" Fit="true" Path="#Crow.Images.Icons.tetra.png"/>
</Border>
</Popper>
<Expandable Name="expander" Width="150" Height="-1">
<VerticalStack Name="vsExpanded" Width="100">
<CheckBox Name="chk1"/>
<CheckBox Name="chk2" IsChecked="true"/>
<CheckBox Name="chk3"/>
<CheckBox Name="chk4"/>
</VerticalStack>
</Expandable>
<Expandable Name="expander2" Width="150" Height="-1">
<VerticalStack Name="vsExpanded" Width="100">
<CheckBox Name="chk1"/>
<CheckBox Name="chk2" IsChecked="true"/>
</VerticalStack>
</Expandable>
<Expandable Name="expander3" Width="150" Height="-1">
<VerticalStack Name="vsExpanded" Width="100">
<CheckBox Name="chk1" IsChecked="true"/>
<CheckBox Name="chk2"/>
</VerticalStack>
</Expandable>
<HorizontalStack>
<Label Text="Update" FontColor="White"/>
<Label Name="labUpdate" Text="{update}" FontSize="16" Width="60" TextAlignment="Center" Background="DarkGreen"/>
</HorizontalStack>
<HorizontalStack>
<Label Text="Fps:" Width = "30"/>
<Label Name="labFps" Text="{fps}" Font="droid bold, 14"
TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
<HorizontalStack>
<Label Text="Min:" Width = "30"/>
<Label Name="labFpsMin" Text="{fpsMin}" Font="droid bold, 14"
TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
<HorizontalStack>
<Label Text="Max:" Width = "30"/>
<Label Name="labFpsMax" Text="{fpsMax}" Font="droid bold, 14"
TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
</VerticalStack>
<HorizontalStack Width="-1">
<Scroller Name="scroller1" Background="DimGray" Width="-1"
Margin="5" VerticalScrolling="true" ScrollY="{../scrollbar1.Scroll}">
<VerticalStack Name="colors" VerticalAlignment="Top" Margin="1" Fit="true">
<!-- <ProgressBar Name="pbBar2" Width="100" Height="20" Value="50"
BorderWidth="2" Foreground="White" Foreground="BlueCrayola" Background="DarkGray"/>
<ProgressBar Width="100" Height="20" Value="{fps}" BorderWidth="2"
Foreground="White" Foreground="BlueCrayola" Background="DarkGray"/> -->
</VerticalStack>
</Scroller>
<ScrollBar Name="scrollbar1" Scroll="{../scroller1.ScrollY}" MaximumScroll="{../scroller1.MaximumScroll}"
Orientation="Vertical" Width="10" Height="0"/>
</HorizontalStack>
</HorizontalStack>
<!-- <HorizontalStack Name="hs0"
WidgetSpacing="1"
VerticalAlignment="Top">
<Slider Orientation="Vertical" Height="300" Width="10" Background="Transparent" />
<VerticalStack Name="vs1" Spacing="5">
<Slider Height="10" Width="300" BorderWidth="1" Background="Transparent" />
<HorizontalStack WidgetSpacing="10">
<Spinner Width="50" Value="5"></Spinner>
</HorizontalStack>
<HorizontalStack Name="hsPbar" Margin="5">
<ProgressBar Name="pbBar"
Width="200" Height="20"
Minimum="0"
Maximum="200"
Value="{fps}"
Foreground="BlueCrayola" Background="DarkGray"
BorderWidth="2" Foreground="White"/>
</HorizontalStack>
<Button Margin="5" BorderWidth="0" Width="-1" Height="-1" HorizontalAlignment="Center">
<Label FontSize="18" Text="This is a test" Margin="5" Foreground="Black" />
</Button>
<GroupBox Title="Group Box" Width="300" Height="100"
Foreground="White" BorderWidth="2" Margin="3">
<Label Name="labValue" FontSize="14" Text="{../../slider.Value}" TextAlignment="Center"/>
</GroupBox>
<Slider Height="10" Width="300" BorderWidth="1" Background="Transparent" />
<GraduatedSlider Name="slider" Height="30" Width="300" Foreground="BlueBell"/>
</VerticalStack>
<HorizontalStack Height="350" Width="-1">
<Scroller Name="scroller1" Background="DimGray" Height="0" Width="-1"
Margin="5" VerticalScrolling="true" ScrollY="{../scrollbar1.Scroll}">
<VerticalStack Name="colors" VerticalAlignment="Top" Margin="1">
<ProgressBar Name="pbBar2" Width="100" Height="20" Value="50"
BorderWidth="2" Foreground="White" Foreground="BlueCrayola" Background="DarkGray"/>
<ProgressBar Width="100" Height="20" Value="{fps}" BorderWidth="2"
Foreground="White" Foreground="BlueCrayola" Background="DarkGray"/>
</VerticalStack>
</Scroller>
<Scrollbar Name="scrollbar1" Scroll="{../scroller1.ScrollY}" MaximumScroll="{../scroller1.MaximumScroll}"
Orientation="Vertical" Width="16" />
</HorizontalStack>
</HorizontalStack>
-->
<!-- <Slider
Height="20" Width="100"
Background="Transparent"
VerticalAlignment="Bottom" />-->
</Border>
</Group>
|