Re: Standard way of graphics in Linux



Herbert Kleebauer wrote:

I'm completely new to Linux programing. What interface should I
use for a very simple graphics demo.

Depends -- does it have to run in the console or should it run on
top of X? For console, there also exists SDL (http://www.libsdl.org
-- it's kind of portable). For X see below.

In DOS you can use int 10 to switch to 320*200 graphics and the
program can be executed on any MS OS up to XP.

Are you sure? But yes, with dosbox that may work. (But dosbox runs
in Linux too ;) )

Or can I somehow switch to 320*200 pixel VGA mode in a full screen
mode?

Mh. I run linux consoles in 1280x1024 all the time -- resolution is
not the problem.

Consider using high level toolkits like wxWidgets, GTK (installed
almost everywhere) or Qt (at least installed on every computer that
has KDE). You can then also use OpenGL if needed.

Regards,


Björn

--
BOFH excuse #445:

Browser's cookie is corrupted -- someone's been nibbling on it.

.