Opentk/Source/Examples/OpenTK/Test/GameWindowStates.rtf
thefiddler 8dcb8601a2 Normalized line endings
Hopefully this is the first and last time we have to do this.
2013-10-11 01:58:54 +02:00

25 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\rtf1\ansi\ansicpg1253\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}}
{\colortbl ;\red163\green21\blue21;}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\cf1\lang1033\b\fs28 Introduction\b0\fs22\par
\par
This sample showcases the capabilities of the GameWindow. It tracks keyboard, mouse and window events and displays the state of the GameWindow in real time.\par
\par
\b\fs28 Controls\par
\b0\fs22\par
Numbers 1-4 change the WindowState\par
Numbers 5-7 change the WindowBorder\par
Arrow keys move the GameWindow\par
+/- keys change the size of the GameWindow\par
\par
\b\fs28 Implementation\par
\b0\fs22\par
This sample provides a straightforward use-case of the IGameWindow interface:\par
\par
1. The constructor hooks various IGameWindow events using anonymous delegates. The event handlers set flags to indicate that the current window state has changed.\par
\par
2. The RenderFrame event checks those flags and refreshes the displayed text if the window state has changed.\par
\par
3. The UpdateFrame event handles mouse and keyboard commands (see Controls section, above).\par
\par
}