summaryrefslogtreecommitdiff
path: root/test/testwm2.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated copyright for 2021Sam Lantinga2021-01-021-1/+1
|
* Updated copyright date for 2020Sam Lantinga2020-01-161-1/+1
|
* test: added SDLTest_CommonDefaultArgs()Ryan C. Gordon2019-05-191-14/+3
| | | | | This is for test apps that don't need custom command line arguments; it lets us reduce the boilerplate code a tiny bit.
* Updated copyright for 2019Sam Lantinga2019-01-041-1/+1
|
* Some drag'and'drop improvements.Ryan C. Gordon2018-08-021-0/+3
| | | | | | | | | | | | | | | | | First: disable d'n'd events by default; most apps don't need these at all, and if an app doesn't explicitly handle these, each drop on the window will cause a memory leak if the events are enabled. This follows the guidelines we have for SDL_TEXTINPUT events already. Second: when events are enabled or disabled, signal the video layer, as it might be able to inform the OS, causing UI changes or optimizations (for example, dropping a file icon on a Cocoa app that isn't accepting drops will cause macOS to show a rejection animation instead of the drop operation just vanishing into the ether, X11 might show a different cursor when dragging onto an accepting window, etc). Third: fill in the drop event details in the test library and enable the events in testwm.c for making sure this all works as expected.
* Updated copyright for 2018Sam Lantinga2018-01-031-1/+1
|
* Updated copyright for 2017Sam Lantinga2017-01-011-1/+1
|
* Tests: Mir needs the window to swap at lease 1 frame for the cursor to show. ↵Brandon Schaefer2016-07-131-1/+13
| | | | So render in testwm2
* Updated copyright to 2016Sam Lantinga2016-01-021-1/+1
|
* Replaced tabs with spaces in test programs.Philipp Wiesemann2015-11-251-1/+1
|
* Updated the copyright year to 2015Sam Lantinga2015-05-261-1/+1
|
* Added missing loop cancel for Emscripten in test programs.Philipp Wiesemann2015-05-181-0/+5
|
* Initial merge of Emscripten port!Ryan C. Gordon2014-12-181-48/+63
| | | | | | | | | | With this commit, you can compile SDL2 with Emscripten ( http://emscripten.org/ ), and make your SDL-based C/C++ program into a web app. This port was due to the efforts of several people, including: Charlie Birks, Sathyanarayanan Gunasekaran, Jukka Jyl?nki, Alon Zakai, Edward Rudd, Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!)
* Fixed bug 2374 - Update copyright for 2014...Sam Lantinga2014-02-021-1/+1
| | | | Is it that time already??
* More non C89 compliant commentsGabriel Jacobo2013-08-201-1/+1
|
* Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS ↵Andreas Schiffler2013-08-141-3/+6
| | | | solution: copy missing dependency
* Updated the copyright year for the test programsSam Lantinga2013-07-251-1/+1
|
* File style cleanup for the SDL 2.0 releaseSam Lantinga2013-05-181-2/+2
|
* Patched test apps to compile with C89 compilers (thanks, Axel!).Ryan C. Gordon2013-03-291-1/+2
| | | | Fixes Bugzilla #1772.
* Added SDL_SetWindowMaximumSize() and SDL_GetWindowMaximumSize()Sam Lantinga2012-12-311-0/+9
| | | | Also fixed Cocoa implementation so that it affects client area, not the whole window area.
* Added SDL_GetDisplayName(), with implementation for Mac OS XSam Lantinga2012-12-311-2/+2
|
* Renamed SDL_GetWindowDisplay() to SDL_GetWindowDisplayIndex()Sam Lantinga2012-12-311-1/+1
|
* Switched the test code over to use the common functions in the test library.Sam Lantinga2012-12-311-8/+8
|
* Added code to testwm2 to test the system cursor supportSam Lantinga2012-11-191-0/+43
|
* SDL 1.3 is now under the zlib license.Sam Lantinga2011-04-081-0/+11
|
* Window coordinates are in the global space and windows are not tied to a ↵Sam Lantinga2011-02-101-0/+13
| | | | | | particular display. Also added Ctrl-Enter keybinding to the test code to toggle fullscreen mode for testing.
* Fixed bug #817Sam Lantinga2009-10-041-0/+2
| | | | | | | | | | Daniele Forghieri 2009-09-30 15:48:24 PDT Some tests doesn't use the correct include statement (and there are some missing declaration) and some test use C++ variable after statement, preventing compile wicth Open Watcom The patch attached fixes this
* Added source color and alpha modulation support.Sam Lantinga2006-08-281-1/+1
| | | | Added perl script to generate optimized render copy functions.
* Implemented Cocoa window supportSam Lantinga2006-07-241-64/+22
|
* SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.Sam Lantinga2006-07-101-0/+99