[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
What are the plans for implementing this? Is there
already some API decided upon?
How would this function sound?
int install_resizer(int (*proc)(int w, int h));
proc would be passed the new w / h and could pass
non-zero to approve the change or 0 to deny the
change. If the change was approved, the screen bitmap
would be reallocated to the correct size and the
SCREEN_* would be fixed to evaluate to the correct
values.
The function would fail if the current OS does not
support windows or window resizing. If a fullscreen
driver is selected, proc will simply not be called.
I think this sort of situation would be ideal, what do
the developers think?