vgl.h (28328) | vgl.h (30044) |
---|---|
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 * $Id: vgl.h,v 1.14 1997/08/17 20:46:55 sos Exp sos $ | 28 * $Id: vgl.h,v 1.1 1997/08/17 21:09:35 sos Exp $ |
29 */ 30 31#include <stdlib.h> 32#include <unistd.h> 33#include <string.h> 34#include <machine/cpufunc.h> 35 36typedef unsigned char byte; --- 32 unchanged lines hidden (view full) --- 69#define VGL_MOUSEHIDE 0 70#define VGL_MOUSESHOW 1 71#define VGL_MOUSEFREEZE 0 72#define VGL_MOUSEUNFREEZE 1 73#define VGL_DIR_RIGHT 0 74#define VGL_DIR_UP 1 75#define VGL_DIR_LEFT 2 76#define VGL_DIR_DOWN 3 | 29 */ 30 31#include <stdlib.h> 32#include <unistd.h> 33#include <string.h> 34#include <machine/cpufunc.h> 35 36typedef unsigned char byte; --- 32 unchanged lines hidden (view full) --- 69#define VGL_MOUSEHIDE 0 70#define VGL_MOUSESHOW 1 71#define VGL_MOUSEFREEZE 0 72#define VGL_MOUSEUNFREEZE 1 73#define VGL_DIR_RIGHT 0 74#define VGL_DIR_UP 1 75#define VGL_DIR_LEFT 2 76#define VGL_DIR_DOWN 3 |
77#define VGL_RAWKEYS 1 78#define VGL_CODEKEYS 2 79#define VGL_XLATEKEYS 3 |
|
77 78extern VGLBitmap *VGLDisplay; 79 80/* 81 * Prototypes 82 */ 83/* bitmap.c */ 84int __VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight); 85int VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight); | 80 81extern VGLBitmap *VGLDisplay; 82 83/* 84 * Prototypes 85 */ 86/* bitmap.c */ 87int __VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight); 88int VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight); |
89/* keyboard.c */ 90int VGLKeyboardInit(int mode); 91void VGLKeyboardEnd(void); 92int VGLKeyboardGetCh(void); |
|
86/* main.c */ 87void VGLEnd(void); 88int VGLInit(int mode); 89void VGLCheckSwitch(void); 90/* mouse.c */ 91void VGLMousePointerShow(void); 92void VGLMousePointerHide(void); 93void VGLMouseMode(int mode); --- 26 unchanged lines hidden --- | 93/* main.c */ 94void VGLEnd(void); 95int VGLInit(int mode); 96void VGLCheckSwitch(void); 97/* mouse.c */ 98void VGLMousePointerShow(void); 99void VGLMousePointerHide(void); 100void VGLMouseMode(int mode); --- 26 unchanged lines hidden --- |