Commit Graph

412 Commits

Author SHA1 Message Date
Sam Lantinga
be09e4e9a0 Added some missing pixel formats and SDL_GetPixelFormatName() 2011-01-12 14:53:23 -08:00
Sam Lantinga
a8dcd6b5a9 Need to include SDL_main.h ... eh, just include everything. :) 2011-01-10 11:22:07 -08:00
Sam Lantinga
a07035dc79 Android has OpenGL ES too... 2011-01-04 20:37:07 -08:00
Sam Lantinga
aa723d4c18 Missing math library for testgesture 2011-01-01 20:44:38 -08:00
Sam Lantinga
8cb1d280d9 Allow META-Enter to toggle fullscreen mode 2011-01-01 19:38:56 -08:00
Sam Lantinga
d6eac2c481 Use the enumerated type for blend and scale mode instead of int
Renamed SDL_TextureScaleMode to SDL_ScaleMode
2010-12-12 15:19:05 -08:00
Sam Lantinga
62570ee8ec Fixed crash if the gesture coordinates go negative - FIXME: Should this protection be at a lower level? 2010-11-30 18:08:01 -08:00
Sam Lantinga
deaf19e6c2 Added a Visual Studio project for testgesture 2010-11-30 12:38:46 -08:00
Andreas Schiffler
4f809bcb5e Remove superflous sample shapes (same BMPs) 2010-09-15 22:33:46 -07:00
Andreas Schiffler
04a527d771 - added directx include path to VS2008 solution
- updated shape vcproj and add it to VS2008 solution
- minor changes (i.e. typecasting) to get rid of compiler warnings in VS
2010-09-15 22:15:47 -07:00
Sam Lantinga
b7c5d88e6a Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows 2010-08-22 13:45:56 -07:00
Sam Lantinga
d4d88abae0 Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME 2010-08-22 12:39:27 -07:00
Sam Lantinga
7f6ad8e572 Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture 2010-08-22 12:07:55 -07:00
Sam Lantinga
45fff76a4f Don't need to use strlen() to determine if there's text.
Use the SDL safe strcpy() function
2010-08-22 11:56:07 -07:00
egottlieb
394cc7bd48 Raised binarization cutoff to eliminate alpha-blending of trollface. 2010-08-16 09:55:35 -04:00
Eli Gottlieb
0292ed62d8 Added last test shape. Because. 2010-08-15 21:46:46 -04:00
Jim Grandpre
e9d12a479a Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture 2010-08-15 00:36:28 -04:00
egottlieb
1dac65bd3a Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now! 2010-08-14 16:14:36 -04:00
Jjgod Jiang
885a15db6b Fix for deleting the last uncommit character 2010-08-12 16:00:47 +02:00
egottlieb
e497b88e5a Updated shapes folder. 2010-08-09 16:26:45 -04:00
egottlieb
75a9691e3e Fixed lots of little bugs in Win32 shaping and in SDL_CalculateShapeTree(). Still not actually showing anything on Windows, though there's no crashes and everything compiles fine. Bugger. 2010-08-06 20:22:14 -04:00
egottlieb
86bd63adea Improving Cocoa implementation and fixed a small bug in SDL_shape.c. 2010-08-05 18:58:45 -04:00
Eli Gottlieb
fd29b00539 Fixed a couple of bugs in the general and X11 shape code, and fixed a bug in testshape that was keeping it from recognizing surfaces without alpha. Thanks to Andreas's bit-bashing tip, X11 shaped windows now work entirely, AFAICT. 2010-08-01 21:10:42 -04:00
Eli Gottlieb
d184c2cdf1 Added Andreas's VS2010 patch for testshape. 2010-07-30 18:04:21 -04:00
Sam Lantinga
17fd339bb6 Added missing pixel format 2010-07-28 01:32:39 -07:00
Eli Gottlieb
6d3fa3eec4 Added shapes folder to hg. 2010-07-26 21:49:32 -04:00
Eli Gottlieb
1ed6481157 Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself. 2010-07-26 17:27:04 -04:00
dewyatt
74f3e6d440 Correctly draw cursor based on position.
Had to add UTF-8 functions utf8_length, utf8_next, utf8_advance.
2010-07-25 13:17:31 -04:00
dewyatt
487bc0322e Changed markedText to have its own storage to resolve multiple bugs.
Changed an odd strcpy to a more appropriate strcat.
2010-07-24 20:48:50 -04:00
Eli Gottlieb
0b10a1cb52 More work on color-key mode. 2010-07-23 01:48:42 -04:00
Sam Lantinga
741880b4dc Added support for keyboard repeat (only tested on Windows so far) 2010-07-20 23:25:24 -07:00
Eli Gottlieb
a765c590a3 Put the render loop back in its right place, but with delaying functionality to keep it down to roughly 60fps, not eating up all the X11 time. 2010-07-19 00:24:02 -04:00
Eli Gottlieb
725ae8e50b Boxed up the rendering loop and turned it into a redraw/update function. This makes things way more responsive, usable again. 2010-07-18 23:51:47 -04:00
Eli Gottlieb
8a85a825dc Added code to make testshape switch shapes on keystrokes and exit on an ESC keystroke. 2010-07-18 23:36:39 -04:00
Eli Gottlieb
d85a315678 Minor bugfixes. testshape now draws a shaped window with bizarre, pixellated gashes of transparency across it, and in doing so seems to hog a system resource and slow the rest of the video system down. 2010-07-18 23:05:40 -04:00
Eli Gottlieb
4cae3679e9 Same place as before, but optimizing a bit to try to isolate the spot in the program that locks things up. 2010-07-18 22:17:52 -04:00
Eli Gottlieb
c78de4899e Rewrote test program for shaped windows. It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values. 2010-07-18 21:31:22 -04:00
Eli Gottlieb
61b1acb7fb Updated testeyes.c. It now shows some kind of gibberish Missingno-type picture somewhere on the screen and, possibly, hangs the window system. On the upside, the Missingno is definitely a non-rectangular window. 2010-07-18 15:15:05 -04:00
Sam Lantinga
774e4ce3f5 Added support for testing window manager icons 2010-07-14 21:25:15 -07:00
Sam Lantinga
31e17885c7 Added test case for maximize code 2010-07-13 23:05:14 -07:00
Eli Gottlieb
8445183d9e Numerous bug fixes that keep testeyes from crashing and dying. 2010-07-14 00:49:28 -04:00
Ryan C. Gordon
5d5a40c96b Removed compiled testeyes from revision control. Added it to ignore list. 2010-07-13 02:27:59 -04:00
Sam Lantinga
ddf0465549 Added an event when the clipboard is updated, triggered after the window gains the keyboard focus. 2010-07-08 22:54:03 -07:00
Sam Lantinga
4ceea8d275 Added simple clipboard test 2010-07-08 00:00:07 -07:00
Eli Gottlieb
02cc7bc991 Updated test code, updated win32 code a bit (still not complete, but hopefully tonight), and removed the last vestiges of ellipse and polygon drawing support. 2010-07-06 22:05:22 -04:00
Sam Lantinga
77b65aa14a Merged changes from default 2010-07-05 22:48:35 -07:00
Sam Lantinga
a2dd563d6c Removed obsolete test program. Ryan may resurrect it when the new multi-mouse code is implemented. 2010-07-05 22:45:45 -07:00
Sam Lantinga
f6b92912cd Fixed usage message - it shouldn't have a printf format specifier 2010-07-05 22:45:15 -07:00
Sam Lantinga
671e388a00 Fixed revision type for SDL 1.3 2010-07-05 13:10:47 -07:00
Eli Gottlieb
fbdbdbcac3 Moved the SDL_Eyes test program for shaped windows into the Hg repository and got it building and linking as a test. 2010-05-31 21:23:06 -04:00