[fpc-pascal]Trivial Graphics on Linux?

vkrish at vkrish.cjb.net vkrish at vkrish.cjb.net
Wed Oct 22 05:58:32 CEST 2003



> On Tuesday 21 October 2003 11:57, you wrote:
> > Hello!
> >
> > I am interested in a demo which does really trivial graphics on LINUX,
> > compiles fine with FPC 1.0.4, and does basically that what a normal
> > TurboPascal for DOS can do with its graph unit.
> >
> > Because Linux uses X11, it would be perfect when everything would work in
> > X11, with a subset of X11 (open application in a window, allocate the whole
> > window as one graphics area, and then set/reset pixels as the DOS
> > counterpart does.
> >
Did you checkout the SDL unit ?  

> > Does somebody have code for that? It is definitely not my target to start
> > with a complete GTK environment. This is bady supported in procedural
> > programming mode and causes an extreme overhead. 
GTK+ is a (full featured) UI toolkit. So it will be big.

> > Having a simple
> > pixel-array which can be accessed by using the ordinary fpc graph unit
> > would be perfect.
> >
TinyPTC offers that IIRC.

cheers,
-Krish

--
 "Nothing in this world is useless - even a dead watch shows correct time twice a day !"





More information about the fpc-pascal mailing list