diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-22 21:57:39 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-09-01 13:24:17 +0200 |
| commit | bede92e519bb638b95e3e306575788052f0bedfe (patch) | |
| tree | 96eeaa2c008b8ba9d0e1bf71d0746d250e76d677 /src/GraphicObjects/GraphicObject.cs | |
| parent | a4555b5e71ff4fc8ed89396d02218694230d1292 (diff) | |
Move Debug LQIs lists to CurrentInterface
LQIs visualizer
ItemTemplate expandable may use 'self' keywork
modifié : CrowIDE/CrowIDE.csproj
modifié : CrowIDE/src/CrowIDE.cs
nouveau fichier : CrowIDE/src/Extensions.cs
modifié : CrowIDE/src/ImlVisualEditor.cs
nouveau fichier : CrowIDE/ui/LQIsExplorer.crow
nouveau fichier : CrowIDE/ui/bindingExpITemp.crow
nouveau fichier : CrowIDE/ui/bindingExplorer.crow
modifié : Templates/DirectoryView.template
modifié : Templates/Window.template
modifié : src/GraphicObjects/GraphicObject.cs
modifié : src/GraphicObjects/Wrapper.cs
modifié : src/Interface.cs
modifié : src/ItemTemplate.cs
modifié : src/LayoutingQueueItem.cs
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 026c06bd..03e8a362 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -748,10 +748,6 @@ namespace Crow #region Layouting - #if DEBUG_LAYOUTING - public List<LayoutingQueueItem> CurrentDrawLQIs = null; - public List<List<LayoutingQueueItem>> LQIs = new List<List<LayoutingQueueItem>>(); - #endif /// <summary> return size of content + margins </summary> protected virtual int measureRawSize (LayoutingType lt) { return lt == LayoutingType.Width ? @@ -802,8 +798,8 @@ namespace Crow public virtual void OnLayoutChanges(LayoutingType layoutType) { #if DEBUG_LAYOUTING - LayoutingQueueItem.currentLQI.Slot = LastSlots; - LayoutingQueueItem.currentLQI.NewSlot = Slot; + CurrentInterface.currentLQI.Slot = LastSlots; + CurrentInterface.currentLQI.NewSlot = Slot; #endif switch (layoutType) { @@ -1031,12 +1027,6 @@ namespace Crow return; LastPaintedSlot = Slot; - #if DEBUG_LAYOUTING - if (CurrentDrawLQIs != null){ - LQIs.Add (CurrentDrawLQIs); - CurrentDrawLQIs = null; - } - #endif if (cacheEnabled) { if (Slot.Width > Interface.MaxCacheSize || Slot.Height > Interface.MaxCacheSize) |