vgl.h (53013) | vgl.h (53052) |
---|---|
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 53013 1999-11-08 11:37:46Z yokota $ | 28 * $FreeBSD: head/lib/libvgl/vgl.h 53052 1999-11-09 12:11:24Z yokota $ |
29 */ 30 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; 39 int Xsize, Ysize; 40 int VXsize, VYsize; 41 int Xorigin, Yorigin; 42 byte *Bitmap; 43} VGLBitmap; 44 45#define VGLBITMAP_INITIALIZER(t, x, y, bits) \ | 29 */ 30 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; 39 int Xsize, Ysize; 40 int VXsize, VYsize; 41 int Xorigin, Yorigin; 42 byte *Bitmap; 43} VGLBitmap; 44 45#define VGLBITMAP_INITIALIZER(t, x, y, bits) \ |
46 { (t), (x), (y), 0, 0, 0, 0, (bits) } | 46 { (t), (x), (y), (x), (y), 0, 0, (bits) } |
47 48/* 49 * Defined Type's 50 */ 51#define MEMBUF 0 52#define VIDBUF4 1 53#define VIDBUF8 2 54#define VIDBUF8X 3 --- 88 unchanged lines hidden --- | 47 48/* 49 * Defined Type's 50 */ 51#define MEMBUF 0 52#define VIDBUF4 1 53#define VIDBUF8 2 54#define VIDBUF8X 3 --- 88 unchanged lines hidden --- |