diff options
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rw-r--r-- | src/OpenTKGameWindow.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index 23d3e814..bb5b67e6 100644 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -76,7 +76,7 @@ namespace Crow g.Parent = this; GraphicObjects.Insert (0, g); - g.RegisterForLayouting ((int)LayoutingType.Sizing); + g.RegisterForLayouting (LayoutingType.Sizing); } public void DeleteWidget(GraphicObject g) { @@ -408,7 +408,7 @@ namespace Crow base.OnResize (e); createContext (); foreach (GraphicObject g in GraphicObjects) { - g.RegisterForLayouting ((int)LayoutingType.All); + g.RegisterForLayouting (LayoutingType.All); //g.registerForGraphicUpdate(); } } @@ -554,7 +554,7 @@ namespace Crow //TODO:uneeded list, should be removed public List<LinkedListNode<LayoutingQueueItem>> RegisteredLQINodes { get; } = new List<LinkedListNode<LayoutingQueueItem>>(); - public void RegisterForLayouting (int layoutType) { throw new NotImplementedException (); } + public void RegisterForLayouting (LayoutingType layoutType) { throw new NotImplementedException (); } public void UpdateLayout (LayoutingType layoutType) { throw new NotImplementedException (); } public Rectangle ContextCoordinates (Rectangle r) { |