From ac425931920420f8eb1d1a70ee5e883e439b6939 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sun, 21 Aug 2016 09:25:54 +0200 Subject: [PATCH] some TODO: --- Tests/BasicTests.cs | 2 +- src/Configuration.cs | 1 + src/GraphicObjects/MenuItem.cs | 2 +- src/GraphicObjects/TabView.cs | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index e8bec2d6..685bda58 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -127,7 +127,7 @@ namespace Tests w.DataSource = this; return; }else if (e.Key == OpenTK.Input.Key.F6) { - GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/imlEditor.crow"); + GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/0.crow"); w.DataSource = this; return; } else if (e.Key == OpenTK.Input.Key.F2) diff --git a/src/Configuration.cs b/src/Configuration.cs index 775b4c4e..af52eed4 100644 --- a/src/Configuration.cs +++ b/src/Configuration.cs @@ -25,6 +25,7 @@ using System.Collections.Generic; namespace Crow { + //TODO:maybe create iterator public static class Configuration { static string configPath, configFileName = "app.config"; diff --git a/src/GraphicObjects/MenuItem.cs b/src/GraphicObjects/MenuItem.cs index dd39524c..decdf142 100644 --- a/src/GraphicObjects/MenuItem.cs +++ b/src/GraphicObjects/MenuItem.cs @@ -57,7 +57,7 @@ namespace Crow } } - Menu MenuRoot { + [XmlIgnore]Menu MenuRoot { get { ILayoutable tmp = Parent; while (tmp != null) { diff --git a/src/GraphicObjects/TabView.cs b/src/GraphicObjects/TabView.cs index a1d1a093..42bb39c0 100644 --- a/src/GraphicObjects/TabView.cs +++ b/src/GraphicObjects/TabView.cs @@ -26,6 +26,7 @@ using System.Diagnostics; namespace Crow { + //TODO:use TemplatedGroup public class TabView : Group { #region Private fields -- 2.47.3