Commit graph

1058 commits

Author SHA1 Message Date
the_fiddler
a8eafbd367 Use the same resolution as other examples. 2008-05-04 16:28:04 +00:00
the_fiddler
e64ce559d8 Try to change bits per pixel, too. 2008-05-04 16:27:41 +00:00
the_fiddler
c57b11662f Passing null to ChangeResolution will restore the original resolution. 2008-05-04 16:26:54 +00:00
the_fiddler
0d659c6e74 Modified the SelectResolution to never fail, even if the specified resolution is not supported. In this case, it will return the current resolution. 2008-05-04 16:25:00 +00:00
the_fiddler
61d951c741 Fixed regression from conflict resolution. 2008-05-04 16:10:53 +00:00
the_fiddler
523c4de774 * X11GLNative.cs: Fix behavior of WindowState when WindowBorder is
Fixed.
2008-05-04 16:09:09 +00:00
the_fiddler
50ff7cdc08 Fixed Alt+Enter fullscreen toggling. 2008-05-04 14:45:33 +00:00
the_fiddler
03765583da Fix line endings. 2008-05-04 14:42:01 +00:00
the_fiddler
1540fab506 Added GetNext and GetPrevious methods to improve toggling of window states and borders. 2008-05-04 14:40:08 +00:00
the_fiddler
6ee92bb453 Fixed a WindowState reference that confused the compiler. 2008-05-03 16:42:25 +00:00
the_fiddler
3d07e2597f Normalized line endings. 2008-05-03 16:34:39 +00:00
the_fiddler
cecc9c4867 * Tests/GameWindowStates.cs: Add bidirectional mode changes. 2008-05-03 16:33:17 +00:00
the_fiddler
a5455cc4e7 * Platform/X11/X11GraphicsMode.cs, Platform/X11/X11GLNative.cs,
Platform/X11/Structs.cs, Platform/X11/Functions.cs,
  Platform/X11/API.cs: Working on WindowBorder and WindowState
  support.
2008-05-03 16:33:00 +00:00
the_fiddler
cedb2394ff * GLHelper.cs: Added helpers for GetProgramInfoLog, VertexAttrib* and
MultiTexCoord*
2008-05-01 12:44:47 +00:00
the_fiddler
dab5111c3a * Tests/GameWindowStates.cs: Updated GameWindowState.cs test pattern. 2008-04-25 22:09:41 +00:00
the_fiddler
c086ee3a99 * Platform/X11/X11GLNative.cs: Completed support for NET WM WindowState
modes.
2008-04-25 22:09:13 +00:00
the_fiddler
655b706221 * Tests/GameWindowStates.cs: Fullscreen toggling on key 3. 2008-04-25 21:49:49 +00:00
the_fiddler
7cc4eb9615 * Platform/X11/X11GLNative.cs: Fullscreen toggling support through NET
WM.
2008-04-25 21:49:24 +00:00
the_fiddler
d4201c810e * Tests/GameWindowStates.cs: Added current status to, and reduced font
size for instructions.
2008-04-25 21:32:43 +00:00
the_fiddler
6a7c304850 Added support for minimized WindowState. 2008-04-25 21:32:01 +00:00
the_fiddler
bebd056751 Added initial support for maximized window states. 2008-04-25 21:04:46 +00:00
the_fiddler
2c8d377097 Added two helper functions for sending NET WM and client WM messages.
--This line, and those below, will be ignored--
M    Functions.cs
2008-04-25 21:04:05 +00:00
the_fiddler
6f1c9b6daf Minor stylistic change (word wrap at 120 characters). 2008-04-25 21:02:54 +00:00
the_fiddler
5f60b5da26 Moved to Bindings folder. 2008-04-25 09:03:38 +00:00
the_fiddler
5b8fef5f7a Removed unused code. 2008-04-25 08:45:12 +00:00
the_fiddler
94d7299b27 Added Bindings folder. 2008-04-25 08:44:15 +00:00
the_fiddler
3590ba5d29 Initial work on WindowState support. 2008-04-25 08:42:53 +00:00
the_fiddler
d4fb64261a Temporarily disabled full screen fade effect on resolution change. 2008-04-22 21:10:20 +00:00
the_fiddler
435b031833 Moved PlatformException to the OpenTK namespace. Removed an invalid Debug.Unindent() call. 2008-04-21 21:31:21 +00:00
the_fiddler
bb2dee8d26 Expose the WindowBorder property. 2008-04-21 20:29:40 +00:00
the_fiddler
cd3a577285 Test all WindowBorder and WindowStyle combinations. Add instructions. 2008-04-21 20:19:12 +00:00
the_fiddler
2d4d4b922e Completed implementation of WindowBorder and WindowState properties. 2008-04-21 20:18:39 +00:00
the_fiddler
8c0662030f Added GetWindowInfo function and WindowInfo structure. 2008-04-21 20:18:04 +00:00
the_fiddler
cad6f0d2da Added FlagsAttribute to WindowStyle enum. 2008-04-21 18:55:17 +00:00
the_fiddler
c5731cb986 Completed WindowBorder and WindowState implementation. 2008-04-21 18:36:16 +00:00
the_fiddler
8000c46892 Changed all GameWindow.Fullscreen properties to GameWindow.WindowState.
Added WindowState test app.
2008-04-20 17:59:05 +00:00
the_fiddler
d94643c6f2 Added WindowState and WindowBorder support on Windows. Removed GameWindow.Fullscreen property. Removed some chunks of unused code. 2008-04-20 17:54:16 +00:00
the_fiddler
3c4068e33b Fixed formatting on pixel format setting debug message.
Added error handling to DestroyContext().
2008-04-20 17:52:27 +00:00
the_fiddler
69169547a7 Fixed documentation and made WindowState.Normal the default. 2008-04-20 17:49:07 +00:00
the_fiddler
0e2b89c369 Added WindowBorder enum. 2008-04-20 17:48:19 +00:00
the_fiddler
fef112ab46 Fixed a missing call to Debug.Unindent() during context construction. 2008-04-20 17:47:26 +00:00
the_fiddler
dcce9fcf73 Added a potential workaround to OpenAL SI/Linux crashes. 2008-04-20 17:46:20 +00:00
the_fiddler
8f17ac3473 Fixed erroneous KeyUp events when the window loses the focus. 2008-04-20 17:45:46 +00:00
the_fiddler
5b4db2b1a6 Added GetClientRect. Fixed GetWindowLong on 32bit platforms. 2008-04-20 17:45:06 +00:00
the_fiddler
21cd2fd536 Display a scrollbar when too many examples are loaded. 2008-04-20 15:09:30 +00:00
the_fiddler
7fca6b3062 Fix line endings. 2008-04-20 11:14:10 +00:00
the_fiddler
d83a3ce6f9 Should only call GL.PopAttrib() once in TextPrinter.End() 2008-04-17 22:41:27 +00:00
the_fiddler
a90a6c6e3d Added stub for WindowState. 2008-04-13 21:32:04 +00:00
the_fiddler
43b43fc256 Call Dispose on the loaded bitmap. 2008-04-13 21:31:24 +00:00
the_fiddler
3db006f122 Added audio file as example. 2008-04-13 20:06:55 +00:00