thefiddler
acb7dd27a7
[Mac] Window should be invisible on startup
...
Also fixes the initial position of the window.
2014-04-24 13:47:30 +02:00
thefiddler
ef4cfbdd4b
Merge branch 'pr/101' into develop
2014-04-24 13:45:17 +02:00
Olle Håkansson
64fb043b77
Licensed files under MIT/X11.
2014-04-24 13:45:06 +02:00
thefiddler
b0eedc122d
[Mac] Avoid class conflicts for multiple windows
...
When creating multiple windows, their classes must have different class
names or they will fail to construct.
This commit ensures their names are unique. It also fixes a potential
memory leak in the Icon setter.
2014-04-24 13:45:06 +02:00
thefiddler
287c2b3415
[Mac] Add CocoaContext.GetGraphicsMode via CGL
...
Once the context is constructed, we use GetGraphicsMode to retrieve the
exact GraphicsMode that was selected by CocoaContext.
2014-04-24 13:45:06 +02:00
Olle Håkansson
2943bdfecb
Fixed too high mouse scrolling speed.
2014-04-24 13:45:06 +02:00
Olle Håkansson
4573db2ceb
Much improved handling of window/border states.
2014-04-24 13:45:06 +02:00
Olle Håkansson
df6caa3cbb
Fixed missing Mode value in CocoaContext.
...
Crashed E.g. GameWindow States example.
2014-04-24 13:45:06 +02:00
Olle Håkansson
ddcc8df5ec
Fixed the HelloGL3 example for the Mac.
...
Upped versions to make it work on Mac; think this should not be a
problem for most other machines.
2014-04-24 13:45:05 +02:00
Olle Håkansson
374ce26186
Added a helper for creating cocoa window infos.
2014-04-24 13:45:05 +02:00
Olle Håkansson
86a5399534
Register mouse drag as well as move.
2014-04-24 13:45:05 +02:00
Olle Håkansson
46856dc21d
Closing should occur in ProcessEvents.
2014-04-24 13:45:05 +02:00
Olle Håkansson
ed87814a7f
Cleanups.
2014-04-24 13:45:05 +02:00
Olle Håkansson
3798d268dc
Fixed mouse position not being received.
2014-04-24 13:45:05 +02:00
Olle Håkansson
9183e3ae0d
Fixed crashes from callbacks.
2014-04-24 13:45:05 +02:00
Olle Håkansson
d1fb2597bb
Better handling of maximized window.
...
Used the “zoom” command before, but it has some limitations (e.g. no
event when zoom is done).
2014-04-24 13:45:05 +02:00
Olle Håkansson
7c3872531e
Disabled capturing when changing resolution.
...
Might be off here, but without capturing it seems like we get a
behaviour closer to that of the PC.
2014-04-24 13:45:05 +02:00
Olle Håkansson
50ed0ee9da
Bug fixes.
2014-04-24 13:45:05 +02:00
Olle Håkansson
63d0d057c5
Better fullscreen handling.
2014-04-24 13:45:05 +02:00
Olle Håkansson
59d7889ce0
Restored most window functionality.
2014-04-24 13:45:05 +02:00
Olle Håkansson
5457651676
Fixed swap interval.
2014-04-24 13:45:04 +02:00
Olle Håkansson
6c6beae4fc
Setup listening for window events.
2014-04-24 13:45:04 +02:00
Olle Håkansson
5e1b7c82ab
Cocoa bindings through libobjc.dylib
2014-04-24 13:45:04 +02:00
thefiddler
4ce1289d85
Merge branch 'es_docs' into develop
2014-04-02 09:27:23 +02:00
thefiddler
985aca3752
[Examples] Test mouse input under heavy load
2014-04-01 09:49:56 +02:00
thefiddler
74cff79d64
Merge remote-tracking branch 'frassle/issue76' into develop
2014-04-01 09:39:48 +02:00
thefiddler
d292d44b90
[Math] Replaced tab characters with spaces
2014-03-31 18:20:08 +02:00
thefiddler
e4fd62c0ff
Merge branch 'pr/84' into develop
2014-03-31 18:19:18 +02:00
thefiddler
bd920a15f2
[Bind] Corrected CSharpSpecWriter output and warning messages
...
CSharpSpecWriter now correctly outputs doc summaries on ARB_imaging
functions that do not have a version/deprecation string. Additionally,
it no longer warns about documentation parameter mismatches for
parameters matching C# keywords.
2014-03-31 17:40:15 +02:00
thefiddler
d68c31a561
[Bind] Move documentation generation to DocProcessor class
...
This de-duplicates a large amount of code that is shared between the
various ISpecWriter implementations.
2014-03-31 17:09:30 +02:00
thefiddler
8001d62599
[Bind] Make documentation output closer to previous xslt implementation
2014-03-31 10:10:56 +02:00
thefiddler
9012101e8c
[Bind] Propagate ComputeSize attribute in cloned Parameters
2014-03-31 10:09:33 +02:00
thefiddler
e11b7ca993
[Bind] More aggressive trimming of documentation strings
2014-03-31 09:51:15 +02:00
thefiddler
570d08fff1
[Bind] Add NoIndent option to BindStreamWriter
2014-03-31 09:50:51 +02:00
thefiddler
61791c91db
[Bind] Do not skip parameters in documentation
...
Multiple parameters may share a single description. The DocProcessor
will now correctly generate DocumentationParameters for each of them.
2014-03-30 19:16:30 +02:00
thefiddler
d1b99219ba
[Compatibility] Don't generate xml documentation
2014-03-30 11:01:30 +02:00
thefiddler
21b328992a
[Bind] Remove xmlns to simplify xpath processing
2014-03-30 11:01:03 +02:00
thefiddler
243f41b83f
[Bind] Use DocumentationParameter instead of KeyValuePair
2014-03-30 10:43:30 +02:00
thefiddler
bd9f760f4b
[Bind] Merge GL2 and GL4 documentation into one
2014-03-30 10:29:50 +02:00
thefiddler
033e0b7155
[Bind] Concatenate multiline documentation
2014-03-30 10:29:11 +02:00
thefiddler
67b0ead68b
[Bind] Process documentation from subdirectories
...
Instead of using xslt, we now process the documentation in code. This
allows us to fix mismatches from e.g. invalid parameter names that
sometimes creep in the specs.
2014-03-28 20:08:38 +01:00
thefiddler
22a706e44f
[Bind] Added documentation files for OpenGL ES
2014-03-28 20:06:55 +01:00
Fraser Waters
fbe6cc0a31
Use Marshal.GetLastWin32Error instead of GetLastError.
...
Also removes magic number 1171 and replaces with constant.
2014-03-23 22:31:32 +00:00
Fraser Waters
095d3f26c0
Use GetMouseMovePointsEx to smooth mouse input.
...
Uses GetMouseMovePointsEx to get mouse move history so mouse events aren't dropped even with low framerates.
Fixes #76 .
2014-03-23 16:26:24 +00:00
thefiddler
2a97192ef8
[Build] Updated copyright information
2014-03-18 14:29:41 +01:00
thefiddler
a24e1edeae
[Build] Set revision to 0 outside source control
...
This ensures that properly built packages take precedence to incorrectly
built packages.
2014-03-18 14:28:52 +01:00
thefiddler
db913ca3f4
[GL] Added missing [Rgba]16Snorm texture formats
...
See https://www.opengl.org/sdk/docs/man4/html/glTexImage2D.xhtml or the
4.4 spec, section 8.5, table "Sized internal color formats".
2014-03-18 12:08:02 +01:00
thefiddler
5882e5e27a
Merge pull request #85 from csantosbh/develop
...
Centering the cursor at (width/2, height/2) when the mouse is hidden
2014-03-18 09:50:03 +01:00
csantos
c48f6399e4
Centering the cursor at (width/2, height/2), effectively fixing
...
the issue described in https://github.com/mono/MonoGame/issues/2283
2014-03-18 01:44:52 -03:00
Phyyl
617131066a
Added multiplication operator to all vectors
2014-03-17 16:59:09 -04:00