/[EmuXPortal]/branches/mono/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/EmuXPortal/Form1.cs	2014/08/05 07:27:47	247
+++ trunk/EmuXPortal/Form1.cs	2014/08/05 09:20:39	248
@@ -100,6 +100,9 @@
 
             platform_flow.Dock = DockStyle.Fill;
             rom_flow.Dock = DockStyle.Fill;
+
+            platform_flow.MaxiumControlsToRender = 5;
+            rom_flow.MaxiumControlsToRender = 5;
         }
 
        
@@ -746,24 +749,22 @@
             gLog.Profiler.WriteLine("PlatformParser took: {0}s to parse platforms", (int)t.Elapsed.TotalSeconds);
 
 
-            var ctls = platform_flow.GetVisibleControls();
-
-
-            gLog.Verbose.Debug.WriteLine("Found: {0} visibile controls", ctls.Count);
-            int index = 0;
-            foreach (var ctl in ctls)
-            {
-                var tag = (ctl.Tag as IEmuConfig);
-                if (tag == null)
-                {
-                    gLog.Verbose.Debug.WriteLine("  [{0}]: {1}", index, "unknown");
-                }
-                else
-                {
-                    gLog.Verbose.Debug.WriteLine("  [{0}]: {1}", index, tag.PlatformNameShort);
-                }
-                index++;
-            }
+            //var ctls = platform_flow.GetControlsToRender();
+            //gLog.Verbose.Debug.WriteLine("Found: {0} controls to render", ctls.Count);
+            //int index = 0;
+            //foreach (var ctl in ctls)
+            //{
+            //    var tag = (ctl.Tag as IEmuConfig);
+            //    if (tag == null)
+            //    {
+            //        gLog.Verbose.Debug.WriteLine("  [{0}]: {1}", index, "unknown");
+            //    }
+            //    else
+            //    {
+            //        gLog.Verbose.Debug.WriteLine("  [{0}]: {1}", index, tag.PlatformNameShort);
+            //    }
+            //    index++;
+            //}
         }
         #endregion
 

 

  ViewVC Help
Powered by ViewVC 1.1.22