Re: [AD] This time GFX_SAFE for real

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


At 21:51 06-12-00 +0000, you wrote:
>On Wed, Dec 06, 2000 at 12:26:14PM +1000, Mike Fahlbusch wrote:
>> I think making GFX_SAFE select 1024 x 768 is a bad idea.  The whole point
>> of GFX_SAFE is making allegro select safe (usually default) settings.  I
>> don't classify 1024 x 768 as either safe or default screen resolution.

>You've missed the point -- Grzegorz has made GFX_SAFE *not*
>change the resolution, so it uses whatever resolution was
>already set (fbcon is effectively always in a graphics mode).
>It just so happens that on his machine that's 1024x768.  On mine
>it would be 640x480.  This mode *is* the most safe, because it's
>already set!  Above all, if Linux fbcon doesn't have a driver
>for your video card so you use the VESA fbcon driver, you can't
>change video modes at all after booting, so this is the only way
>that works.

That sounds fair enough, however many programmers don't use the fbcon mode
resolution or the safe default resolution.  A program that runs under DOS,
MS Windows and Linux X may need to start up in full screen mode on one
platform and as a 100 x 100 window on another computer.  The full screen
mode resolution and color depth could be randomly changed by the user.  I
use a screen res of 640x480 in DOS, 800x600 in MSW and 1024x768 in Linux.
But the allegro program I am writing starts up using GFX_SAFE to make the
program appear on top and in focus, then changes to 600x350 window size.
The last thing I need is my program filling the whole screen and somehow
locking the user out of the desktop.  And what if the user changes the
color depth, making all of the colors change at random?




-
Regards,
       Mike

Sig:
Think like a man of action, act like a man of thought. -Henri Bergson



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