aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/OpenTKGameWindow.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-10-14 15:06:07 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-10-14 15:06:07 +0200
commitd57ae20644694ed4862785be98d3ead18100315f (patch)
tree48b5188d2c94ec19955b9714e5ae03fbaccb991d /src/OpenTKGameWindow.cs
parent6bedf8d5d0b78ba0705e37375d8dee016e87ebbb (diff)
debug threaded listbox
debug new binding system
Diffstat (limited to 'src/OpenTKGameWindow.cs')
-rwxr-xr-xsrc/OpenTKGameWindow.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs
index fc6f9916..6b16f157 100755
--- a/src/OpenTKGameWindow.cs
+++ b/src/OpenTKGameWindow.cs
@@ -254,6 +254,12 @@ namespace go
surf = new ImageSurface(bmp, Format.Argb32, ClientRectangle.Width, ClientRectangle.Height,ClientRectangle.Width*4);
ctx = new Context(surf);
+ if (Interface.LoadingLists.Count > 0) {
+ ListBox[] loadings = new ListBox[Interface.LoadingLists.Count];
+ Interface.LoadingLists.CopyTo (loadings, 0);
+ for (int i = 0; i < loadings.Length; i++)
+ loadings [i].CheckPendingChildrenAddition ();
+ }
GraphicObject[] invGOList = new GraphicObject[GraphicObjects.Count];
GraphicObjects.CopyTo (invGOList,0);