Deleted Added
full compact
vgl.h (70991) vgl.h (71519)
1/*-
2 * Copyright (c) 1991-1997 S�ren Schmidt
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1991-1997 S�ren Schmidt
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/lib/libvgl/vgl.h 70991 2001-01-13 11:30:17Z nsouch $
28 * $FreeBSD: head/lib/libvgl/vgl.h 71519 2001-01-24 09:06:42Z sobomax $
29 */
30
29 */
30
31#ifndef _VGL_H_
32#define _VGL_H_
33
31#include <stdlib.h>
32#include <unistd.h>
33#include <string.h>
34#include <machine/cpufunc.h>
35
36typedef unsigned char byte;
37typedef struct {
38 byte Type;

--- 103 unchanged lines hidden (view full) ---

142void VGLSetPalette(byte *red, byte *green, byte *blue);
143void VGLSetPaletteIndex(byte color, byte red, byte green, byte blue);
144void VGLSetBorder(byte color);
145void VGLBlankDisplay(int blank);
146/* text.c */
147int VGLTextSetFontFile(char *filename);
148void VGLBitmapPutChar(VGLBitmap *Object, int x, int y, byte ch, byte fgcol, byte bgcol, int fill, int dir);
149void VGLBitmapString(VGLBitmap *Object, int x, int y, char *str, byte fgcol, byte bgcol, int fill, int dir);
34#include <stdlib.h>
35#include <unistd.h>
36#include <string.h>
37#include <machine/cpufunc.h>
38
39typedef unsigned char byte;
40typedef struct {
41 byte Type;

--- 103 unchanged lines hidden (view full) ---

145void VGLSetPalette(byte *red, byte *green, byte *blue);
146void VGLSetPaletteIndex(byte color, byte red, byte green, byte blue);
147void VGLSetBorder(byte color);
148void VGLBlankDisplay(int blank);
149/* text.c */
150int VGLTextSetFontFile(char *filename);
151void VGLBitmapPutChar(VGLBitmap *Object, int x, int y, byte ch, byte fgcol, byte bgcol, int fill, int dir);
152void VGLBitmapString(VGLBitmap *Object, int x, int y, char *str, byte fgcol, byte bgcol, int fill, int dir);
153
154#endif /* !_VGL_H_ */