From 1c2e6c55a1a64bbfa22cc7b4e6f1286593eab6ca Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Thu, 1 Nov 2007 23:28:31 +0000 Subject: [PATCH] Split up lines that were longer than 100 characters. --- Source/OpenTK/GameWindow.cs | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 17f0d3c3..81499c6f 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -17,18 +17,35 @@ using OpenTK.OpenGL; namespace OpenTK { /// - /// The GameWindow class contains cross-platform methods to create and render on an OpenGL window, handle input and load resources. + /// The GameWindow class contains cross-platform methods to create and render on an OpenGL + /// window, handle input and load resources. /// /// /// GameWindow contains several events you can hook or override to add your custom logic: /// - /// OnLoad: Occurs after creating the OpenGL context, but before entering the main loop. Override to load resources. - /// OnUnload: Occurs after exiting the main loop, but before deleting the OpenGL context. Override to unload resources. - /// OnResize: Occurs whenever GameWindow is resized. You should update the OpenGL Viewport and Projection Matrix here. - /// OnUpdateFrame: Occurs at the specified logic update rate. Override to add your game logic. - /// OnRenderFrame: Occurs at the specified frame render rate. Override to add your rendering code. + /// + /// OnLoad: Occurs after creating the OpenGL context, but before entering the main loop. + /// Override to load resources. + /// + /// + /// OnUnload: Occurs after exiting the main loop, but before deleting the OpenGL context. + /// Override to unload resources. + /// + /// + /// OnResize: Occurs whenever GameWindow is resized. You should update the OpenGL Viewport + /// and Projection Matrix here. + /// + /// + /// OnUpdateFrame: Occurs at the specified logic update rate. Override to add your game + /// logic. + /// + /// + /// OnRenderFrame: Occurs at the specified frame render rate. Override to add your + /// rendering code. + /// /// - /// Call the Run() method to start the application's main loop. Run(double, double) takes two parameters that + /// Call the Run() method to start the application's main loop. Run(double, double) takes two + /// parameters that /// specify the logic update rate, and the render update rate. /// public class GameWindow : INativeGLWindow @@ -69,7 +86,8 @@ namespace OpenTK /// /// Constructs a new GameWindow using a safe DisplayMode. /// - public GameWindow() : this(new DisplayMode(640, 480, 0, 16, false), "OpenTK game window") { } + public GameWindow() : this(new DisplayMode(640, 480, 0, 16, false), "OpenTK game window") + { } /// /// Constructs a new GameWindow, and opens a render window with the specified DisplayMode. @@ -78,7 +96,8 @@ namespace OpenTK public GameWindow(DisplayMode mode) : this(mode, "OpenTK game window") { } /// - /// Constructs a new GameWindow with the specified title, and opens a render window with the specified DisplayMode. + /// Constructs a new GameWindow with the specified title, and opens a render window with the + /// specified DisplayMode. /// /// The DisplayMode of the GameWindow. /// The Title of the GameWindow.