[fpc-pascal] SDL 2.xx

Brian vmst at golden.net
Mon Feb 2 15:54:48 CET 2015


It appears (though I can't find any documentation / forums that actually
states this) that SDL 2.03 only allows one event handler.

When the event handler (only one handler) is put in a thread , the event can
be detected from different windows , those created in the thread and those
created in the main thread (program) , by using SDL_GetWindowID() to get the
identify of a window (WindowID) and later use it to recognize which window
generated the event.

Brian




--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/SDL-2-xx-tp5720887p5720900.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list