diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-04-28 17:50:42 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-04-28 17:50:42 +0200 |
| commit | c88d3c2e0b3e9e69df5f1879b9d8935d3ae0d390 (patch) | |
| tree | ebb5c969b09654c16995c9aff2bc0c0076806ea2 /src/OpenTKGameWindow.cs | |
| parent | 7b8ff62e3ee75e19d9eeeabd31bedef371215554 (diff) | |
Layouting queue test 2
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rwxr-xr-x | src/OpenTKGameWindow.cs | 79 |
1 files changed, 6 insertions, 73 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index 2d491b20..86d8d312 100755 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -79,7 +79,7 @@ namespace go g.Parent = this;
GraphicObjects.Add (g);
- g.RegisterForLayouting ();
+ g.RegisterForLayouting ((int)LayoutingType.Sizing);
}
public void DeleteWidget(GraphicObject g)
{
@@ -463,6 +463,11 @@ namespace go #region ILayoutable implementation
+ public void RegisterForLayouting (int layoutType)
+ {
+ throw new NotImplementedException ();
+ }
+
public void UpdateLayout (LayoutingType layoutType)
{
throw new NotImplementedException ();
@@ -524,79 +529,7 @@ namespace go return ClientRectangle;
}
- public bool WIsValid {
- get {
- return true;
- }
- set {
- throw new NotImplementedException ();
- }
- }
- public bool HIsValid {
- get {
- return true;
- }
- set {
- throw new NotImplementedException ();
- }
- }
- public bool XIsValid {
- get {
- return true;
- }
- set {
- throw new NotImplementedException ();
- }
- }
- public bool YIsValid {
- get {
- return true;
- }
- set {
- throw new NotImplementedException ();
- }
- }
- public virtual void InvalidateLayout ()
- {
-// foreach (GraphicObject g in GraphicObjects) {
-// g.InvalidateLayout ();
-// }
- }
-// public Rectangle rectInScreenCoord (Rectangle r)
-// {
-// throw new NotImplementedException ();
-// }
-// public Rectangle renderBoundsInContextCoordonate {
-// get { return ClientRectangle; }
-// }
-// public Rectangle ClientBoundsInContextCoordonate {
-// get {
-// throw new NotImplementedException ();
-// }
-// }
-// public Rectangle renderBoundsInBackendSurfaceCoordonate {
-// get { return ClientRectangle; }
-// }
-// public Rectangle ClientBoundsInBackendSurfaceCoordonate {
-// get {
-// throw new NotImplementedException ();
-// }
-// set {
-// throw new NotImplementedException ();
-// }
-// }
-// public Rectangle ScreenCoordBounds {
-// get { return ClientRectangle; }
-// }
-// public Rectangle ScreenCoordClientBounds {
-// get {
-// throw new NotImplementedException ();
-// }
-// set {
-// throw new NotImplementedException ();
-// }
-// }
#endregion
}
}
\ No newline at end of file |