diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-28 10:23:42 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-28 10:23:42 +0200 |
| commit | 61aeb72522c4ad315fed13d8ddd3d73f7a21bc2a (patch) | |
| tree | 70f93a96227e7514fac2ecb79cb215d4fbb78d40 /Tests/Interfaces | |
| parent | 639be44b59e9f7320473374037a6fa850b4413b6 (diff) | |
* OpenTK:
* GOLIBTest_4.cs: fps in pgbar
* test4.goml: tests
* CompilerServices.cs: check null src value
Diffstat (limited to 'Tests/Interfaces')
| -rwxr-xr-x | Tests/Interfaces/test4.goml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Tests/Interfaces/test4.goml b/Tests/Interfaces/test4.goml index c468aef2..ec4251fe 100755 --- a/Tests/Interfaces/test4.goml +++ b/Tests/Interfaces/test4.goml @@ -48,15 +48,15 @@ <!-- <ListBox Data="{TestList}"></ListBox>-->
<HorizontalStack Name="hsPbar" Margin="5">
<ProgressBar Name="pbBar"
- Width="100" Height="20"
+ Width="200" Height="20"
Minimum="0"
Maximum="200"
- Value="50"
+ Value="{fps}"
Foreground="BlueCrayola" Background="DarkGray"
BorderWidth="2" BorderColor="White"/>
- <Label Name="labPb"
+<!-- <Label Name="labPb"
Width="30"
- TextAlignment="RightCenter"/>
+ TextAlignment="RightCenter"/>-->
</HorizontalStack>
<HorizontalStack Name="hsFocus">
<Label Text="Focused:"/>
@@ -79,7 +79,7 @@ Text="editable text"/>
<GroupBox Title="Group Box" Width="300" Height="100"
BorderColor="White" BorderWidth="2" Margin="3">
- <Label Name="labValue" FontSize="14" Text="000" TextAlignment="Center"/>
+ <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"/>
@@ -139,6 +139,8 @@ <VerticalStack Name="colors" VerticalAlignment="Top" Margin="1">
<ProgressBar Name="pbBar2" Width="100" Height="20" Value="50"
BorderWidth="2" BorderColor="White" Foreground="BlueCrayola" Background="DarkGray"/>
+ <ProgressBar Width="100" Height="20" Value="{fps}" BorderWidth="2"
+ BorderColor="White" Foreground="BlueCrayola" Background="DarkGray"/>
</VerticalStack>
</Scroller>
<Scrollbar Name="scrollbar1" Scroll="{../scroller1.ScrollY}" MaximumScroll="{../scroller1.MaximumScroll}"
|