Re: [AD] al_window_close, 2nd pass |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> OK, but wouldn't it just be simpler to provide only a flag? It would
> have the same effect as removing the default handler, and would
> prohibit exiting the program in the handler. Also, it doesn't break
> code that doesn't know about close buttons.
The problem is in part that we have a precedent: display switch callbacks.
The same restrictions can be applied to them, yet they are in the API.
Moreover I think a handler is more flexible than a mere flag.
- Eric