Date: Mon, 12 May 2003 19:05:44 +0200 From: Kjell Midtseter <kmidtset@c2i.net> To: Katinka Mills <kat-free@kaqelectronics.dyndns.org> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: C Graphics Tutorial Message-ID: <20030512170544.GB9151@nina.la3sg.net> In-Reply-To: <FPEOKJIFLCAMCIODEAJPCEAJEIAA.kat-free@kaqelectronics.dyndns.org> References: <200305122135.27573.Malcolm.Kay@internode.on.net> <FPEOKJIFLCAMCIODEAJPCEAJEIAA.kat-free@kaqelectronics.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 12 May 2003 at 21:45:23 +0800, Katinka Mills wrote: > > > > -----Original Message----- > > From: Malcolm Kay [mailto:Malcolm.Kay@internode.on.net] > > Sent: Monday, 12 May 2003 8:05 PM > > To: Katinka Mills; freebsd-questions > > Subject: Re: C Graphics Tutorial > > > > > > On Mon, 12 May 2003 20:27, Katinka Mills wrote: > > > > -----Original Message----- > > > > From: pischelletto [mailto:pischelletto2000@yahoo.com] > > > > Sent: Monday, 12 May 2003 2:43 PM > > > > To: Katinka Mills > > > > Cc: freebsd-questions > > > > Subject: Re: C Graphics Tutorial > > > > > > > > > I am not after making great 3D Graphics or any stuff > > > > > like that, just simple > > > > > graphics like make the screen blue, put a boarder > > > > > around etc etc. > > > > > > > > try to use allegro or sdl, there are very popular > > > > multiplatform graphic library. > > > > On the official site you can find also many links > > > > to various tutorial. > > > > http://www.talula.demon.co.uk/allegro/ > > > > http://www.libsdl.org/index.php > > > > > > From what I see, these are ment for running under X > > > > > > all I want to do is make a program that uses graphics like "sysinstall" > > > does, nothing flash. > > > > > > > I believe cusrses/ncurses may be what you want -- but no > > geometrical shapes. > > > > Take a look at: > > # man ncurses > > > > Malcolm > > Thanks Malcolm > > This looks exactly like what I was after :o) (I just want to make a program > that I wrote (to exercise a Parallel port for development of a parallel port > interface for DMX 512 (watchout for my FreeBSD lighting desk :o) (and home > automation software) ;o) > > Regards, > > Kat. > --- I have been playing around with home automation and FreeBSD also. My approach has been to write programs in C or PHP4 scripts that run as daemons or as cron jobs. These programs generates html pages. I use gd2 under PHP4 and MRTG to generate graphic curves. Now I can take up any of the generated pages using any web browser. I believe this approach saves me on development time, and adds extra flexibility. I can read my electric meter regardless of where I am in the world and report the reading back to my electric company on the first of every month. Regards from Kjell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030512170544.GB9151>