Index: trunk/VUT/Ogre/resources/VisibilityDemo.overlay
===================================================================
--- trunk/VUT/Ogre/resources/VisibilityDemo.overlay	(revision 121)
+++ trunk/VUT/Ogre/resources/VisibilityDemo.overlay	(revision 135)
@@ -240,9 +240,10 @@
 }
 
+
 Example/Visibility/HelpOverlay
 {
 	zorder 600
 	// Stats block
-	container BorderPanel(Example/Visibility/HelpPanel)
+	container BorderPanel(Example/Visibility/Help/HelpPanel)
 	{
 		metrics_mode pixels
@@ -250,5 +251,5 @@
 		vert_align top
 		width 600
-		height 315
+		height 300
 		left 200
 		top 200
@@ -276,5 +277,5 @@
 		}
 
-		element TextArea(Example/Visibility/Help/Help)
+		element TextArea(Example/Visibility/Help/HelpOptions)
 		{
 			metrics_mode pixels
@@ -293,5 +294,5 @@
 		{
 			left 5
-			top 40
+			top 30
 			width 180
 			height 30
@@ -301,5 +302,5 @@
 		{
 			left 5
-			top 55
+			top 45
 			width 180
 			height 30
@@ -309,5 +310,5 @@
 		{
 			left 5
-			top 85
+			top 75
 			width 180
 			height 30
@@ -317,5 +318,5 @@
 		{
 			left 5
-			top 70
+			top 60
 			width 180
 			height 30
@@ -325,5 +326,5 @@
 		{
 			left 5
-			top 115
+			top 105
 			width 180
 			height 30
@@ -333,5 +334,5 @@
 		{
 			left 5
-			top 130
+			top 120
 			width 180
 			height 30
@@ -342,5 +343,5 @@
 		{
 			left 5
-			top 160
+			top 150
 			width 180
 			height 30
@@ -350,5 +351,5 @@
 		{
 			left 5
-			top 175
+			top 165
 			width 175
 			height 30
@@ -358,5 +359,5 @@
 		{
 			left 5
-			top 190
+			top 180
 			width 190
 			height 30
@@ -366,5 +367,5 @@
 		{
 			left 5
-			top 220
+			top 210
 			width 180
 			height 30
@@ -374,5 +375,5 @@
 		{
 			left 5
-			top 235
+			top 225
 			width 180
 			height 30
@@ -382,5 +383,5 @@
 		{
 			left 5
-			top 250
+			top 240
 			width 180
 			height 30
@@ -390,5 +391,5 @@
 		{
 			left 5
-			top 265
+			top 255
 			width 180
 			height 30
@@ -398,5 +399,5 @@
 		{
 			left 5
-			top 280
+			top 270
 			width 180
 			height 30
@@ -405,2 +406,144 @@
 	}
 }
+
+Example/Visibility/QueryOverlay
+{
+	zorder 650
+	// Stats block
+	container BorderPanel(Example/Visibility/Query/QueryPanel)
+	{
+		metrics_mode pixels
+		horz_align left
+		vert_align top
+		width 600
+		height 120
+		left 200
+		top 300
+		material Core/StatsBlockCenter
+		
+        	border_size 1 1 1 1
+        	border_material Core/StatsBlockBorder
+        	border_topleft_uv     0.0000 1.0000 0.0039 0.9961
+	    	border_top_uv         0.0039 1.0000 0.9961 0.9961
+	    	border_topright_uv    0.9961 1.0000 1.0000 0.9961
+	    	border_left_uv        0.0000 0.9961 0.0039 0.0039
+	    	border_right_uv       0.9961 0.9961 1.0000 0.0039
+	    	border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
+        	border_bottom_uv      0.0039 0.0039 0.9961 0.0000
+	    	border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
+
+		container Panel(Example/Visibility/Query/BreakPanel)
+		{
+			metrics_mode pixels
+			left 5 
+			top 22
+			width 590
+			height 1
+			material Core/StatsBreak
+		}
+
+		element TextArea(Example/Visibility/Query/Headline)
+		{
+			metrics_mode pixels
+			left 5
+			top 5
+			width 90
+			height 30
+			font_name TrebuchetMSBold
+			char_height 19
+			caption Exact Visibility Query
+			colour_top 1 1 0.7
+			colour_bottom 1 1 0.7
+		}
+
+		element TextArea(Example/Visibility/Query/QueryType): Example/Visibility/Templates/BasicText
+		{
+			left 5
+			top 30
+			width 90
+			height 30
+			caption Type
+		}
+		
+		
+		element TextArea(Example/Visibility/Query/QueryTypeInfo): Example/Visibility/Templates/BasicText
+		{
+			left 180
+			top 30
+			width 90
+			height 30
+			caption :
+		}
+
+		element TextArea(Example/Visibility/Query/VisibleNodes): Example/Visibility/Templates/BasicText
+		{
+			left 5
+			top 45
+			width 90
+			height 30
+			caption Visible nodes
+		}
+		element TextArea(Example/Visibility/Query/VisibleNodesInfo): Example/Visibility/Templates/BasicText
+		{
+			left 180
+			top 45
+			width 90
+			height 30
+			caption :
+		}
+
+		element TextArea(Example/Visibility/Query/VisibleGeometry): Example/Visibility/Templates/BasicText
+		{
+			left 5
+			top 60
+			width 90
+			height 30
+			caption Visible geometry
+		}
+		element TextArea(Example/Visibility/Query/VisibleGeometryInfo): Example/Visibility/Templates/BasicText
+		{
+			left 180
+			top 60
+			width 90
+			height 30
+			caption :
+		}
+
+		element TextArea(Example/Visibility/Query/NodeVisibility): Example/Visibility/Templates/BasicText
+		{
+			left 5
+			top 75
+			width 90
+			height 30
+			caption Avg. node visibility
+		}
+
+		element TextArea(Example/Visibility/Query/NodeVisibilityInfo): Example/Visibility/Templates/BasicText
+		{
+			left 180
+			top 75
+			width 90
+			height 30
+			caption:
+		}
+
+		element TextArea(Example/Visibility/Query/GeometryVisibility): Example/Visibility/Templates/BasicText
+		{
+			left 5
+			top 90
+			width 90
+			height 30
+			caption Avg. geometry visibility
+		}
+
+		element TextArea(Example/Visibility/Query/GeometryVisibilityInfo): Example/Visibility/Templates/BasicText
+		{
+			left 180
+			top 90
+			width 90
+			height 30
+			caption:
+		}
+
+	}
+}
