Commit graph

6 commits

Author SHA1 Message Date
Ryan C. Gordon
efa3e07bc9 Minor tweaks to testhittesting. 2014-06-05 00:49:25 -04:00
Ionut Leonte
3465f8e461 Added SDL_HITTEST_RESIZE_*, and implemented for X11. 2014-06-05 00:45:16 -04:00
Ryan C. Gordon
9fb513d81f Patched to compile on Visual Studio. 2014-05-30 01:48:26 -04:00
Ryan C. Gordon
719a77b576 Make some printf() calls into SDL_Log() so I can see them on Windows. :) 2014-05-30 01:48:08 -04:00
Ryan C. Gordon
bcf0b09879 Added a few debug printf() calls. 2014-05-28 01:27:27 -04:00
Ryan C. Gordon
9e98d09104 Changed drag area API to a hit-testing API.
There were several good arguments for this: it's how Windows works with
 WM_NCHITTEST, SDL doesn't need to manage a list of rects, it allows more
 control over the regions (how do you use rects to cleanly surround a circular
 button?), the callback can be more optimized than a iterating a list of
 rects, and you don't have to send an updated list of rects whenever the
 window resizes or layout changes.

--HG--
rename : test/testdragareas.c => test/testhittesting.c
2014-05-28 01:22:47 -04:00
Renamed from test/testdragareas.c (Browse further)