Commit Graph

29 Commits

Author SHA1 Message Date
Ruslan Ermilov
4a558355e5 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
Maxim Sobolev
ac6468bd08 Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead save
actual geometry before switching to the graphics mode.
2001-01-25 16:58:46 +00:00
Nicolas Souchu
e28bc5f477 Set properly the PixelBytes field for 8bits modes.
Submitted by:	Maxim Sobolev <sobomax@FreeBSD.org>
2001-01-25 11:01:20 +00:00
Maxim Sobolev
0e2fa3bb50 Protect against multiple inclusion. 2001-01-24 09:06:42 +00:00
Maxim Sobolev
5c9a541b66 Minor fixes:
- Use "OPOST | ONLCR" as a c_oflag in the raw mode instead of 0, which should
  make debug output mode readable;
- flush input buffer when switching to/from raw mode. This should prevent
  leaking raw scancodes into your shell prompt when program called
  VGLKeyboardEnd() w/o processing all scancodes in the buffer.
2001-01-24 09:05:35 +00:00
Nicolas Souchu
a35bdd252a Version bump, because of ABI incompatibility.
Suggested by:	Maxim Sobolev <sobomax@FreeBSD.org>
2001-01-15 13:19:05 +00:00
Nicolas Souchu
933d455fac Add Truecolor 16 and 32bits support. Note that 24bits modes are not
supported since it's not easy to put 3 bytes accross 64Kb windows
of memory. This should not be such a problem with linear framebuffers.

There is no major interface modification except that the color type
becomes u_long instead of byte. So one just need to recompile his
application.

Approved by:	Soren Schmidt <sos@freebsd.dk>
2001-01-13 11:30:17 +00:00
Ruslan Ermilov
4263595653 Prepare for mdoc(7)NG. 2000-12-29 14:08:20 +00:00
Ruslan Ermilov
ed40311694 mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
Ruslan Ermilov
8e8536e1c2 Spell the sos's name correctly. 2000-11-14 13:09:12 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Alexey Zelkin
ae23d9ac9f Introduce .Lb macro to libvgl manpage 2000-04-22 16:17:38 +00:00
Sheldon Hearn
c6ff3a1bf7 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
Rodney W. Grimes
d05257b0f2 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
Alexey Zelkin
fd6995f74d mdoc(7)'fy 2000-01-05 15:16:32 +00:00
Bruce Evans
a0d660c26b Fixed missing #include in synopsis.
Fixed misspelling of VGLPanScreen in its prototype.
Fixed missing installation of link to VGLPanScreen.3.
1999-12-23 16:56:27 +00:00
Andrzej Bialecki
4c9d1e5462 Document VGLGetXY and VGLSetXY functions.
Reviewed by:	sos
1999-12-13 10:48:22 +00:00
Kazutaka YOKOTA
8d12b4e5bd Fix the VGLBITMAP_INITIALIZER macro; VXsize and VYsize should
be the same as Xsize and Ysize.
1999-11-09 12:11:24 +00:00
Kazutaka YOKOTA
5acf51ea02 - This is the new version of libvgl jointly developed by sos and I.
It adds new functions and extend some structures and can handle
  VESA modes.
- Update the man page.
- Bump the library version number.

(The old version will be added to compat3x.)
1999-11-08 11:37:46 +00:00
Mike Pritchard
81bddaa05c Minor mdoc cleanup. 1999-10-30 19:29:45 +00:00
Alexey Zelkin
b2e8bf35bd Complete page reorganization. I have splited FUNCTIONS section into
two subsections: SINOPSIS (declarations) and DESCRIPTION (descriptions)
All functions now mentioned in NAME section (apropos capable manpage :)
Various mdoc fixe
1999-10-28 15:51:50 +00:00
Kazutaka YOKOTA
fbe39a1af1 - Handle the signal SIGTERM.
- Slightly rearrange VGLCheckSwitch() to ensure the display content
  will be correctly restored when switching back to the vty where
  the vgl program is running.
- VGLEnd() should clear the screen only when the vty is in the
  foreground.

Discussed with: sos
1999-08-28 02:39:10 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Kazutaka YOKOTA
5e7a62b28b Assorted bug fixes.
keyboard.c
- Call tcsetattr() in VGLKeyboardEnd() to restore tty, only when
  tty attributes have been previously saved.
  PR: misc/9524
  Submitted by: Katusyuki 'kei' Maeda (kei@nanet.co.jp)
- Set up the tty raw mode correctly.

main.c
- Restore VESA_800x600 raster text mode correctly in VGLEnd().
  Submitted by: des

text.c
- Allocate the correct size of a font buffer in VGLSetFontFile().
  I forgot the submitter ;-(

simple.c, bitmap.c
- Fix address calculation for the VGA mode X in VGLGetXY() and
  VGLBitmapCopy().
- Fix typo (dsty -> dstx) in __VGLBitmapCopy().

Reviewed by: sos
1999-08-22 03:31:13 +00:00
Philippe Charnier
a5941fc2aa .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq 1998-03-19 07:34:22 +00:00
James Raynard
d877622a0d Fix a few typos. 1997-10-22 23:12:27 +00:00
Søren Schmidt
9fb4ca060c Fix a couble of typos.
Submitted by: "Vanill I. Shu" <vanilla@MinJe.com.TW>
1997-10-16 09:12:31 +00:00
Søren Schmidt
b478da3630 Add rudimentary support for using the keyboard. 1997-10-01 20:53:41 +00:00
Søren Schmidt
9a57b7d230 First import of my little "video graphic library".
See the manpage vgl.3 for more info.

A little example will follow shortly.
1997-08-17 21:09:35 +00:00