Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 09:04:45 +0000 (GMT)
From:      Donn Miller <dmm125@bellatlantic.net>
To:        questions@freebsd.org
Subject:   libvgl: documentation??
Message-ID:  <Pine.NEB.3.96.971212090031.261A-100000@myname.my.domain>

next in thread | raw e-mail | index | archive | help
Is there any docs on libvgl (for 2.2.5-RELEASE)?  I would like to know how
to write a basic console-mode graphics program.

Here is my sample program:

#include <vgl.h>
#include <machine/console.h>
#include <stdio.h>
#include <vgl.h>
#include <machine/console.h>

int main (int argc, char **argv)
{
  VGLInit(M_VGA11);
  VGLBox(NULL, 10, 10, 30 , 30, 1);
  return 0;
}

I couldn't get it to do anything but return me to the prompt.  Or is
-current required to run this?  Thanks a lot,

	Donn





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.971212090031.261A-100000>