aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Group.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-25 14:51:07 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-25 14:51:07 +0100
commit3cb3ae624a352b92b71a5d7cb19c05f0183f2e43 (patch)
tree930d78bb995fda31091e420aefc0d05128d3eea8 /src/GraphicObjects/Group.cs
parent54ff9d82e0d195bc335916b8a30a27651f830502 (diff)
debug
Diffstat (limited to 'src/GraphicObjects/Group.cs')
-rw-r--r--src/GraphicObjects/Group.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs
index 6e2417a9..887d9e22 100644
--- a/src/GraphicObjects/Group.cs
+++ b/src/GraphicObjects/Group.cs
@@ -4,6 +4,7 @@ using System.ComponentModel;
using System.Xml.Serialization;
using Cairo;
using OpenTK.Input;
+using System.Diagnostics;
namespace Crow
@@ -217,6 +218,9 @@ namespace Crow
maxChildrenHeight = 0;
}
void searchLargestChild(){
+ #if DEBUG_LAYOUTING
+ Debug.WriteLine("\tSearch largest child");
+ #endif
largestChild = null;
maxChildrenWidth = 0;
for (int i = 0; i < Children.Count; i++) {
@@ -231,6 +235,9 @@ namespace Crow
}
}
void searchTallestChild(){
+ #if DEBUG_LAYOUTING
+ Debug.WriteLine("\tSearch tallest child");
+ #endif
tallestChild = null;
maxChildrenHeight = 0;
for (int i = 0; i < Children.Count; i++) {