Re: [AD] GFX_WINDOWED

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



Svein Ove Aas wrote:
> 
> > In DOS, this flag should be ignored. Otherwise, I think it's a good
> > idea.
> 
> Not neccessarily.
> Someone might easily end up trying to set a mode like 700x700, which would of
> course work in windowed mode, but wouldn't in dos.
> So, if Allegro is unable to select a windowed mode it should either return an
> error, or (preferably) select the smallest mode that will contain whatever
> resolution the program wants, and change screen so it pretends to be in that
> resolution.
> (Preferably in the middle of the actual screen)
> 
> Is this doable?

I think it's already being done for the FB Linux driver, so I suppose
the same can be done in DOS.

--
- Robert J Ohannessian

"Microsoft code is probably O(n^20)" (My CS teacher)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/