Commit graph

86 commits

Author SHA1 Message Date
Ethan Lee 9b86627382 Doc cleanup. Because I am a lunatic. 2013-08-28 06:31:06 -04:00
Justin Skiles ad6e7a7fa8 Added all source/destination null parameter overload variations for RenderCopy. Added function comments to explain their use. Fixed inconsistent tabbing. 2013-08-26 20:16:51 -04:00
Justin Skiles 796e0b9e54 Added overload to SDL_RenderCopy method to allow SourceRectangle to be passed as an IntPtr. This allows developers to pass IntPtr.Zero to take advantage of internal SDL default values for null rectangles. 2013-08-26 18:44:39 -04:00
gered 72dd621577 fixed reversed const definitions
See http://hg.libsdl.org/SDL/file/8f71b590aff6/include/SDL_events.h#l49
2013-08-18 14:01:55 -04:00
Jameson Ernst 2d5f572ccf Changed text input events to byte instead of char
Added hint for background joystick events
2013-08-17 17:58:31 -07:00
Ethan Lee 482319f9b0 Grumble, C# structs... 2013-08-10 13:58:57 -04:00
Ethan Lee a9f3447df3 SDL_HapticLeftRight is in upstream! 2013-08-10 13:54:48 -04:00
ollipekka 82aae4d722 Fixed leading whitespace in indent. 2013-08-03 21:41:48 +03:00
ollipekka 70c4d742c8 Unified naming conventions with the native SDL2 library and introduced SDL_GLprofile. 2013-08-03 21:39:08 +03:00
Jameson Ernst c751ad0a03 Fixed gamma-ramp marshaling
more out params
2013-07-24 16:33:52 -07:00
Ethan Lee fe8cf68230 Fix SDL_RenderGetViewport entry 2013-07-15 12:36:03 -04:00
Jameson Ernst 941209348a Change messagebox enum base types to uint
Change access level on messagebox internals to private
2013-07-14 22:14:06 -07:00
Jameson Ernst 423ace8dd8 Merge remote-tracking branch 'origin/master' 2013-07-14 20:28:05 -07:00
Jameson Ernst 92397d8a98 Added SDL_messagebox wrapper 2013-07-14 19:25:35 -07:00
Jameson Ernst 964f553e25 Marshaling refinements 2013-07-14 14:51:55 -07:00
Ethan Lee 284c1cde76 Add SDL_messagebox.h 2013-07-13 14:21:00 -04:00
Jameson Ernst 19d4602321 Don't free strings returned from SDL
Accept nulls for marshaling
2013-06-26 11:02:44 -07:00
Jameson Ernst 00f353693e Fixed leftover internal names 2013-06-25 23:51:05 -07:00
Jameson Ernst 1c6c04f2e2 Apply UTF-8 marshaling to return values and removed extra wrapping layer 2013-06-25 22:12:29 -07:00
Jameson Ernst 1741030481 Added UTF-8 string marshaling 2013-06-25 21:36:38 -07:00
Ethan Lee 0d5195c00c Add SDL_SetMainReady 2013-06-19 01:45:44 -04:00
Ethan Lee 9f0949be21 Fix SDL_SaveBMP 2013-05-24 07:37:37 -04:00
Ethan Lee 2658498408 Haptic effects seem to work now. 2013-05-09 14:54:47 -04:00
Ethan Lee 8876cc0117 More Haptic fixes... I think... 2013-05-08 23:07:58 -04:00
Ethan Lee 1b692d307d A couple fixes for Haptic 2013-05-08 21:14:32 -04:00
Ethan Lee 0023c59bd3 SetWindowFullscreen has more options than a bool 2013-04-29 06:52:32 -04:00
Ethan Lee 7c1bfdbaeb Fix SDL_BUTTON masks. 2013-04-28 18:58:30 -04:00
Ethan Lee 4c9d372611 Fix SDLK_ESCAPE 2013-04-28 17:57:47 -04:00
Ethan Lee 647e1b5efd Fix LoadWAV/FreeWAV 2013-04-28 16:39:27 -04:00
Ethan Lee 4f02e3d005 SDL_SetWindowBordered 2013-04-28 14:53:16 -04:00
Ethan Lee d49903dd9e Clarity for VERSION_ATLEAST 2013-04-17 18:51:29 -04:00
Ethan Lee f154fc784b Add compiled version info for SDL2 libs. 2013-04-17 18:38:10 -04:00
Ethan Lee 5440f8ad22 SDL2 compatibility fixes. 2013-04-17 18:08:38 -04:00
Ethan Lee ffab51b4a0 Document SDL_GL_GetProcAddress 2013-04-17 12:01:12 -04:00
Ethan Lee fdbf76f308 Strip out needless Attribute bits 2013-04-17 03:41:40 -04:00
Ethan Lee f6eff6c217 SDL_GL_GetProcAddress 2013-04-16 15:13:48 -04:00
Ethan Lee 14aabb792a Need to do a PtrToString on this first. 2013-04-11 19:10:15 -04:00
Ethan Lee d4d6dff87c Input is done! I think! 2013-04-11 13:25:02 -04:00
Ethan Lee 5bdf2d4c35 Everything but 'event filter stuff' is done. 2013-04-11 12:40:44 -04:00
Ethan Lee bea66fc84b Touch/Gesture events 2013-04-11 12:33:12 -04:00
Ethan Lee c33c997947 TextEdit and TextInput events 2013-04-11 12:20:28 -04:00
Ethan Lee a80f8a8f92 Missed a line of tempdoc in that last commit... 2013-04-09 23:37:05 -04:00
Ethan Lee 9ab0d1d2c3 Unfortunately, we need to use IntPtrs for SDL_Surface and Mix_Chunk. Otherwise we cannot free these resources. Just do a PtrToStructure in the application. 2013-04-09 23:04:37 -04:00
Ethan Lee d3dcc117e9 Checked on the ButtonBind struct, should be alright. 2013-04-09 22:03:01 -04:00
Ethan Lee 9fab52ec04 These aren't that problematic, we just name them like we do IntPtrs. 2013-04-09 13:43:37 -04:00
Ethan Lee 7dd9cf4272 Fix endianness assumption, make PIXELFORMATs readonly. 2013-04-09 13:38:06 -04:00
Ethan Lee 2377195ecc SDL_Log[Get|Set]OutputFunction 2013-04-09 12:55:01 -04:00
Ethan Lee 9339b5514c SDL_gamecontroller.h done. 2013-04-09 12:29:41 -04:00
Ethan Lee 8212b2864f SDL_joystick written. SDL_gamecontroller is next. 2013-04-09 11:39:16 -04:00
Ethan Lee 5238ccd88e Durr, that is a macro, flibit. 2013-04-09 10:49:31 -04:00