diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-13 15:48:05 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-13 15:48:05 +0200 |
| commit | 746f5cfb60c9a798825e31c2e362cfc817e59d44 (patch) | |
| tree | b6bb8ffb83f06fecff3d7805a64d095f3ec35740 /src/OpenTKGameWindow.cs | |
| parent | 78e040f5f6f3af0f4e66b84523f77fdfb819b8af (diff) | |
-window, icons
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rwxr-xr-x | src/OpenTKGameWindow.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index 7299e858..38d230f7 100755 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -87,6 +87,11 @@ namespace go GraphicObjects.Remove (g);
}
+ public void Quit ()
+ {
+ this.Exit ();
+ }
+
#region Events
//those events are raised only if mouse isn't in a graphic object
public event EventHandler<MouseWheelEventArgs> MouseWheelChanged;
@@ -97,7 +102,6 @@ namespace go #endregion
#region focus
-
GraphicObject _activeWidget; //button is pressed on widget
GraphicObject _hoverWidget; //mouse is over
GraphicObject _focusedWidget; //has keyboard (or other perif) focus
@@ -246,7 +250,7 @@ namespace go lock (redrawClip) {
if (redrawClip.count > 0) {
// #if DEBUG_CLIP_RECTANGLE
- redrawClip.stroke (ctx, new Color(1.0,0,0,0.3));
+// redrawClip.stroke (ctx, new Color(1.0,0,0,0.3));
// #endif
redrawClip.clearAndClip (ctx);//rajouté après, tester si utile
|