I would like to close my SDL window when the user clicks on the cross in
the right-top cornerin in the window.
I don’t know how to associate this to a QUIT event.
Or any other ideo to do that.
I would like to close my SDL window when the user clicks on the cross in
the right-top cornerin in the window.
I don’t know how to associate this to a QUIT event.
Or any other ideo to do that.
— Cristina Sandoval wrote:
I would like to close my SDL window when the user clicks on the cross
in the right-top cornerin in the window. I don’t know how to
associate this to a QUIT event.Or any other ideo to do that.
In using SDL in Win32 development, I’ve found that no additional setup
is needed to associate the Windows ‘close’ button (the aforementioned X
at the top right of the window) with an SDL QUIT event.
NBarnes__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
There no problem with that, sorry and thank you very much, also I am
working in Debian.
It is already working.
NBarnes wrote:>— Cristina Sandoval <@Cristina_Sandoval> wrote:
I would like to close my SDL window when the user clicks on the cross
in the right-top cornerin in the window. I don’t know how to
associate this to a QUIT event.Or any other ideo to do that.
In using SDL in Win32 development, I’ve found that no additional setup
is needed to associate the Windows ‘close’ button (the aforementioned X
at the top right of the window) with an SDL QUIT event.NBarnes
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
–