Sam Lantinga
a9072159b2
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Philipp Wiesemann
3b2e0bf33c
Fixed comments in headers for doxygen output.
2017-06-04 23:15:39 +02:00
Sam Lantinga
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
9cc7ce9008
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Philipp Wiesemann
5cb20e668d
Added brackets to function names in header comments so that doxygen links them.
2016-08-03 22:30:31 +02:00
Philipp Wiesemann
ab5286c7f2
Added missing links at documentation of SDL_FreeCursor() in header file.
2016-05-05 22:03:52 +02:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Ryan C. Gordon
fd638d4de7
SDL_WarpMouseGlobal() should return non-void.
...
There are platforms it isn't implemented on (and currently can't be
implemented on!), and there's currently no way for an app to know this.
This shouldn't break ABI on apps that moved to a revision between 2.0.3 and
2.0.4.
2015-07-17 21:03:58 -04:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Edward Rudd
835d487683
add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event
2014-12-03 11:00:56 -05:00
Ryan C. Gordon
e59e44ff6b
Merged Ryan's SDL-gui-backend branch.
...
Adds three APIs, and implements them on X11, Cocoa, and Windows:
- SDL_CaptureMouse()
- SDL_GetGlobalMouseState()
- SDL_SetWindowHitTest()
2014-06-25 17:06:12 -04:00
Ryan C. Gordon
25c056b0ae
Changed SDL_GetAbsoluteMouseState() to SDL_GetGlobalMouseState().
...
This matches naming conventions in the main repository, between
SDL_GetRelativeMouseState() and SDL_WarpMouseGlobal().
2014-06-25 16:16:55 -04:00
Ryan C. Gordon
1c00a0fc42
Implemented SDL_GetAbsoluteMouseState().
...
X11 only for now, but this should be doable on every platform, I think.
2014-06-05 00:03:33 -04:00
Sam Lantinga
a7fe260d58
Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal()
2014-06-04 10:55:26 -07:00
Ryan C. Gordon
c28b3364b0
Implemented SDL_CaptureMouse().
2014-05-24 01:30:37 -04:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Jørgen P. Tjernø
01c74a11b7
Add SDL_GetDefaultCursor.
...
This fixes http://bugzilla.libsdl.org/show_bug.cgi?id=1798
Thanks to Alex Szpakowski for suggestion & patch.
2013-04-24 10:42:44 -07:00
Ryan C. Gordon
98dc9306b5
Removed C++-style single-line comments from a public header (thanks, Martin!).
...
Fixes Bugzilla #1803 .
2013-04-16 01:05:32 -04:00
Sam Lantinga
d486363049
The input API was never implemented, so removing it before release.
2013-02-19 05:39:19 -08:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
ee5bc4e7ab
Added code to testwm2 to test the system cursor support
2012-11-19 20:38:52 -08:00
Michael Sartain
f4161f1ea6
Add SDL_CreateSystemCursor for Windows and Linux.
2012-11-19 15:11:10 -08:00
Sam Lantinga
105e4c7072
Nobody will EVER use more than 8 buttons. Oh wait... Nobody will EVER use more than 32 buttons...
2012-11-12 12:14:44 -08:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
2d4e47a5a7
Added a function to create color cursors: SDL_CreateColorCursor()
2011-03-11 14:14:38 -08:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
4b1c945432
Removed multi-mouse / multi-keyboard support in anticipation of a real multi-mouse and multi-touch API.
...
Plus, this lets me start implementing cursor support.
2010-05-09 20:47:22 -07:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
e0a31b4dbb
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
2010-01-21 06:21:52 +00:00
Ryan C. Gordon
61382a9f93
Initial band-aids on SDL_GetMouseState() API breakage. More work to come.
...
Fixes Bugzilla #758 .
2009-12-16 19:50:51 +00:00
Sam Lantinga
27294b7a4e
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
2009-10-19 13:31:58 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
92c3984118
Final merge of Google Summer of Code 2008 work...
...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
2008-10-04 06:46:59 +00:00
Szymon Wilczek
92d9759a5f
Removed unneccesary code lines. Fixed mousename bug. Added lacking code in mousebutton
2008-08-25 18:02:14 +00:00
Sam Lantinga
474cfaad1e
Final merge of Google Summer of Code 2008 work...
...
Many-mouse and tablet support
by Szymon Wilczek, mentored by Ryan C. Gordon
Everything concerning the project is noted on the wiki:
http://wilku.ravenlord.ws/doku.php?id=start
2008-08-25 06:33:00 +00:00
Sam Lantinga
a4fa98c9b0
Fixed bug #464
...
Added X1/X2 button constants
2007-12-29 06:09:25 +00:00
Sam Lantinga
62a3c00b46
Date: Wed, 15 Aug 2007 01:08:38 +0200
...
From: Couriersud
Subject: Some SDL1.3 patches
fixed a compiler warning
2007-08-15 03:20:55 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00
Sam Lantinga
769424426d
More header massaging... works great on Windows. ;-)
2006-02-10 06:48:43 +00:00
Sam Lantinga
5022a01e6c
*** empty log message ***
2006-02-10 03:19:02 +00:00
Sam Lantinga
82bfaee73a
It's now possible to build SDL without any C runtime at all on Windows,
...
using Visual C++ 2005
2006-02-06 08:28:51 +00:00
Sam Lantinga
808a16717c
Updated copyright information and removed rcs id lines (problematic in branch merges)
...
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
2006-02-01 06:32:25 +00:00
Ryan C. Gordon
af505fdcfa
Added some parentheses for a little more macro safety. Recommended by Petri
...
Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html
2005-04-17 10:16:30 +00:00
Sam Lantinga
08c158c94b
Date: Mon, 3 May 2004 03:15:01 +0100
...
From: David Symmonds
Subject: SDL Typedef Structs
Hi, Thanks for the SDL libraries, I have been using them for about a year
now and they are really brilliant. One thing that I have just found whilst
using them through C++ (and needing forward declarations) is that when you
typedef structs you sometimes use
typedef struct Name
{
...
}Name;
e.g. SDL_Surface
and other times use
typedef struct
{
...
}Name;
e.g. SDL_Rect
The first type works fine, when I define a header file I can just put
'struct Name;' at the top and use the Name throughout. However, the second
type is harder to use in a header, and I haven't found a way yet, other than
to include 'SDL.h' in the header file (undesirable). Would there be any harm
in changing the definition of SDL_Rect and such like to the second form?
2004-07-18 22:57:40 +00:00
Sam Lantinga
32719e7429
Updated copyright information for 2004 (Happy New Year!)
2004-01-04 16:49:27 +00:00
Sam Lantinga
51ae701fe9
Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
2002-08-19 18:09:44 +00:00
Sam Lantinga
8b5bf373be
Explicitly specify the SDL API calling convention (C by default)
2002-04-11 14:35:16 +00:00
Sam Lantinga
df4885048e
Updated copyright information for 2002
2002-03-06 11:23:08 +00:00