test/testhittesting.c


Log

Author Commit Date CI Message
Ryan C. Gordon 31de8f8b 2014-06-05T00:49:25 Minor tweaks to testhittesting.
Ionut Leonte 2d38a71a 2014-06-05T00:45:16 Added SDL_HITTEST_RESIZE_*, and implemented for X11.
Ryan C. Gordon bf03bec1 2014-05-30T01:48:26 Patched to compile on Visual Studio.
Ryan C. Gordon 4ef6edda 2014-05-30T01:48:08 Make some printf() calls into SDL_Log() so I can see them on Windows. :)
Ryan C. Gordon 7364ed01 2014-05-28T01:27:27 Added a few debug printf() calls.
Ryan C. Gordon 98c03f39 2014-05-28T01:22:47 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.