summaryrefslogtreecommitdiffstats
path: root/lib/libvgl/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert files to UTF-8 and add some copyright markers where missing.uqs2012-01-071-1/+1
|
* Signal handlers are supposed to take an int parameter.stefanf2004-06-081-2/+2
| | | | Approved by: das (mentor)
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-021-1/+1
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Implement __FBSDID()dillon2001-09-161-2/+3
|
* - Do not call VGLEnd() and exit() to terminate the programyokota2001-07-241-2/+15
| | | | | | | | | immediately when a signal is caught. Instead, defer program termination until the next call to VGLCheckSwitch(). Otherwise, the video card may not be restored correctly if the signal is seen while inside libvgl functions. MFC after: 1 week
* Use CONS_GETINFO ioctl to get geometry of the current text mode instead ofsobomax2001-05-191-5/+7
| | | | TIOCGWINSZ. The former is more correct in this context.
* Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead savesobomax2001-01-251-2/+8
| | | | actual geometry before switching to the graphics mode.
* Set properly the PixelBytes field for 8bits modes.nsouch2001-01-251-0/+2
| | | | Submitted by: Maxim Sobolev <sobomax@FreeBSD.org>
* Add Truecolor 16 and 32bits support. Note that 24bits modes are notnsouch2001-01-131-4/+75
| | | | | | | | | | | 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>
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+3
| | | | | | | | | 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.
* - This is the new version of libvgl jointly developed by sos and I.yokota1999-11-081-68/+303
| | | | | | | | | 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.)
* - Handle the signal SIGTERM.yokota1999-08-281-9/+8
| | | | | | | | | | - 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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Assorted bug fixes.yokota1999-08-221-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add rudimentary support for using the keyboard.sos1997-10-011-1/+6
|
* First import of my little "video graphic library".sos1997-08-171-0/+226
See the manpage vgl.3 for more info. A little example will follow shortly.
OpenPOWER on IntegriCloud