QUIT event

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.

Thanks--------------------------------------------------------
V I S U A L T O O L S
Cristina Sandoval
R&D Department
C/Isla Graciosa, 1.
28034 Madrid - Spain
Telephone: +34 917 294 844
Fax: +34 913 585 236
csandoval at visual-tools.com

— 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


V I S U A L T O O L S
Cristina Sandoval
R&D Department
C/Isla Graciosa, 1.
28034 Madrid - Spain
Telephone: +34 917 294 844
Fax: +34 913 585 236
csandoval at visual-tools.com