aboutsummaryrefslogtreecommitdiffstatsci
path: root/testDrm/Main.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-06-14 02:12:30 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2017-06-14 02:12:30 +0200
commit26cb42fbd4e0d96237bd3bc0fcf7ebd83b6e0dcc (patch)
tree3b3faeea60a142bead56b3db3735838dec0a3c2a /testDrm/Main.cs
parent8d385b053423c16e18d02467bdd54be17c3b42aa (diff)
debugTestDRM
Diffstat (limited to 'testDrm/Main.cs')
-rw-r--r--testDrm/Main.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/testDrm/Main.cs b/testDrm/Main.cs
index 45a95d63..81216d34 100644
--- a/testDrm/Main.cs
+++ b/testDrm/Main.cs
@@ -55,8 +55,9 @@ namespace testDrm
System.Threading.Thread.CurrentThread.Name = "Main";
try {
- using (TestApp crowApp = new TestApp ())
+ using (TestApp crowApp = new TestApp ()){
crowApp.Run ();
+ }
} catch (Exception ex) {
Console.WriteLine (ex.ToString ());
}
@@ -73,7 +74,7 @@ namespace testDrm
#endregion
- public Command CMDViewPerf, CMDViewCfg, CMDViewTest0, CMDOpen;
+ public Command CMDViewPerf, CMDViewCfg, CMDViewTest0, CMDViewGO, CMDOpen;
public TestApp () : base () {
CrowInterface.KeyboardKeyDown += CrowInterface_KeyboardKeyDown;
@@ -81,12 +82,13 @@ namespace testDrm
CMDViewPerf = new Command(new Action(() => Load ("#testDrm.ui.perfMeasures.crow").DataSource = this)) { Caption = "Performances"};
CMDViewCfg = new Command(new Action(() => Load ("#testDrm.ui.2.crow").DataSource = this)) { Caption = "Configuration"};
CMDViewTest0 = new Command(new Action(() => Load ("#testDrm.ui.0.crow").DataSource = this)) { Caption = "Test view 0"};
+ CMDViewGO = new Command(new Action(() => Load ("#testDrm.ui.go.crow").DataSource = this)) { Caption = "graphic test"};
CMDOpen = new Command(new Action(() => {
lock (CrowInterface.UpdateMutex) CrowInterface.AddWidget(new FileDialog());})) { Caption = "Open"};
Load ("#testDrm.ui.menu.crow").DataSource = this;
- initTests ();
+ //initTests ();
}
void CrowInterface_KeyboardKeyDown (object sender, KeyboardKeyEventArgs e)