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/GOLIBTest_4.cs | |
| parent | 639be44b59e9f7320473374037a6fa850b4413b6 (diff) | |
* OpenTK:
* GOLIBTest_4.cs: fps in pgbar
* test4.goml: tests
* CompilerServices.cs: check null src value
Diffstat (limited to 'Tests/GOLIBTest_4.cs')
| -rw-r--r-- | Tests/GOLIBTest_4.cs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Tests/GOLIBTest_4.cs b/Tests/GOLIBTest_4.cs index 5b421100..3fb79fff 100644 --- a/Tests/GOLIBTest_4.cs +++ b/Tests/GOLIBTest_4.cs @@ -88,7 +88,7 @@ namespace test //c2.VerticalAlignment = VerticalAlignment.Top;
c.Background.AdjustAlpha (0.5);
labMousePos = c.FindByName ("labMouse") as Label;
- pb = c.FindByName("pbBar") as ProgressBar;
+ //pb = c.FindByName("pbBar") as ProgressBar;
pb2 = c.FindByName("pbBar2") as ProgressBar;
labPb = c.FindByName ("labPb") as Label;
labF = c.FindByName ("labFocus") as Label;
@@ -135,8 +135,8 @@ namespace test }
);
i++;
- if (i > 250)
- break;
+// if (i > 150)
+// break;
}
ValueChanged.Raise(this, new ValueChangeEventArgs ("TestList", TestList));
}
@@ -171,11 +171,10 @@ namespace test }
frameCpt++;
- if (pb.Value == pb.Maximum)
- pb.Value = 0;
- pb.Value++;
- pb2.Value = pb.Value;
- //labPb.Text = pb.Value.ToString ();
+ if (pb2.Value == pb2.Maximum)
+ pb2.Value = 0;
+ pb2.Value++;
+
if (FocusedWidget==null)
labF.Text = "- none -";
else
|