[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 13 Dec 2000, Michael Bukin wrote:
> > > The last atatement appears to limit the screen size to 80 pixels or more.
> > > Can I just change w < 80 and h < 80 to something like w < 1 and h < 1?
> >
> > I don't know whether there are any reasons smaller sizes won't work.
>
> Window manager may create larger window than requested, to make a
> room for window decorations (title, buttons...).
Maybe Allegro could try setting the requested resolution, retrieve the
window size afterwards, and return error for set_gfx_mode if the sizes
don't match? It would look a little bit weird though, a window may flash
for a moment, and it would be frustrating for people with manual window
placement.
Grzegorz Adam Hankiewicz gradha@xxxxxxxxxx - http://gradha.infierno.org
Other web pages: http://glub.ehu.es/ - http://welcome.to/gogosoftware/