|
allegro and window |
a b
Member #8,092
December 2006
|
I want to make board game - I wrote use library allegro to displaying board . But what to do to display in a window, because now it is display without window so I must push ESC to close this programm ? What should I do ?
|
mscava
Member #6,815
January 2006
|
Try |
Evert
Member #794
November 2000
|
Quote: But still I'm not sure wheter you will be able to close it with X button. You need to install a callback for the close button. See the manual for more details. |
a b
Member #8,092
December 2006
|
install callback could you give me a link ? And why allegro is so different from c++ ?? |
Durnus
Member #7,997
November 2006
|
Allegro is not any different than C++ because allegro is a library for C++ (Or C, depending on how you program.) I am interested in the close button as well.
|
kazzmir
Member #1,786
December 2001
|
Quote: install callback could you give me a link ?
set_close_button_callback( my_close_function ); The forum parser isnt recognizing that function so heres the link to the manual |
BAF
Member #2,981
December 2002
|
Quote: And why allegro is so different from c++ ?? Allegro is very different from C++. Allegro is a library, C++ is a language. |
|