Re: [AD] Allegro 4.1.6/Allegro 4.0.3 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Ok, I think this would be good (although Allegro has quite enough backward
> compatibility #defines already).
The patch is attached.
--
Eric Botcazou
--- /home/eric/cvs/allegro/include/allegro/alcompat.h Thu Oct 31 12:02:57 2002
+++ allegro/include/allegro/alcompat.h Tue Nov 26 18:16:07 2002
@@ -194,6 +194,11 @@
})
+/* the old close button functions */
+#define set_window_close_button(enable)
+#define set_window_close_hook(callback) set_close_button_callback(callback)
+
+
#ifdef __cplusplus
}
#endif
--- /home/eric/cvs/allegro/docs/src/api._tx Fri Nov 15 12:07:48 2002
+++ allegro/docs/src/api._tx Tue Nov 26 18:19:17 2002
@@ -91,9 +91,6 @@
<li>
object_message() now takes care of scaring and unscaring the mouse if the
message to be sent is MSG_DRAW.
-<li>
- set_window_close_button() and set_window_close_hook() have been removed
- from the API. The replacement function is set_close_button_callback().
</ul>
@heading
@@ -226,6 +223,10 @@
<li>
SEND_MESSAGE (object_message).
<li>
+ set_window_close_button.
+<li>
+ set_window_close_hook (set_close_button_callback).
+<li>
text_mode.
<li>
textout (textout_ex, passing the mode you would have passed to text_mode()