yes, this is the code maker job. He is the decider. A cross platform lib
lrts me make one app that does the same thing on all os. i do this. When i
am in the os making changes it’s crazy to plan for the quit so i check but
don’t do anything unless im not busy. Even microsost os will be destroyed
if its stopped when doing an update. the key press are there to check which
is easy and i dont worry about alternate methods and what they mean unless
all are the same. I have to write the same ammount of code to handle sdl if
its included and if its not. it’s about 1 line of code no matter what the
caes.On Thu, Jul 26, 2012 at 7:28 PM, Daniel Leslie wrote:
What about providing a way of determining if a given chord is a system
interaction and what the probable intent is, but stop short of actually
following through with the intent?-Dan
On Jul 26, 2012 4:04 PM, “Gabriel Jacobo” wrote:I asked Sam why SDL2 is not generating a WM_CLOSE when the user presses
ALT+F4 under Windows, and he told me that by design SDL lets the user
handle all combinations of key presses, though this forces the developer to
write some platform dependent code to catch those events (ALT+F4 on
Windows, CMD+Q on OS X…etc?). He said he is on the fence on this issue
and to propose a poll on the list, so here it is…the “Grand 2012 Keyboard
System Shortcuts Poll”.I’ll start with my vote, I’m 51% in favor of handling these combos
internally.–
Gabriel.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org