From 5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Tue, 13 Mar 2018 17:16:24 +0100 Subject: limit to html safe color plus several ones, crowIDE wip --- CrowIDE/src/ProjectTree/ImlProjectItem.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'CrowIDE/src/ProjectTree/ImlProjectItem.cs') diff --git a/CrowIDE/src/ProjectTree/ImlProjectItem.cs b/CrowIDE/src/ProjectTree/ImlProjectItem.cs index 7ce24ad7..0575d177 100644 --- a/CrowIDE/src/ProjectTree/ImlProjectItem.cs +++ b/CrowIDE/src/ProjectTree/ImlProjectItem.cs @@ -41,6 +41,7 @@ namespace Crow.Coding #endregion GraphicObject instance; + Measure designWidth, designHeight; /// /// instance created with an instantiator from the source by a DesignInterface, @@ -55,6 +56,26 @@ namespace Crow.Coding NotifyValueChanged ("Instance", instance); } } + + public Measure DesignWidth { + get { return designWidth; } + set { + if (designWidth == value) + return; + designWidth = value; + NotifyValueChanged ("DesignWidth", designWidth); + } + } + public Measure DesignHeight { + get { return designHeight; } + set { + if (designHeight == value) + return; + designHeight = value; + NotifyValueChanged ("DesignHeight", designHeight); + } + } + public List GraphicTree { get { return new List (new GraphicObject[] {instance}); } -- cgit v1.3.1-4-g156e