diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-13 17:16:24 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-13 17:16:24 +0100 |
| commit | 5f1d0213e0dadecc8f93d44e36ea3a11a1aa9baa (patch) | |
| tree | 8c01fd9b8f9e446d17adf9c415e0a4d6ef988a18 /CrowIDE/src/ProjectTree/ImlProjectItem.cs | |
| parent | 99d63b94c2e0e09eae8efb67e720920c130f7346 (diff) | |
limit to html safe color plus several ones, crowIDE wip
Diffstat (limited to 'CrowIDE/src/ProjectTree/ImlProjectItem.cs')
| -rw-r--r-- | CrowIDE/src/ProjectTree/ImlProjectItem.cs | 21 |
1 files changed, 21 insertions, 0 deletions
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; /// <summary> /// 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<GraphicObject> GraphicTree { get { return new List<GraphicObject> (new GraphicObject[] {instance}); } |