00001 /* 00002 * Copyright (c) 1993-1997, Silicon Graphics, Inc. 00003 * ALL RIGHTS RESERVED 00004 * Permission to use, copy, modify, and distribute this software for 00005 * any purpose and without fee is hereby granted, provided that the above 00006 * copyright notice appear in all copies and that both the copyright notice 00007 * and this permission notice appear in supporting documentation, and that 00008 * the name of Silicon Graphics, Inc. not be used in advertising 00009 * or publicity pertaining to distribution of the software without specific, 00010 * written prior permission. 00011 * 00012 * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" 00013 * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, 00014 * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR 00015 * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON 00016 * GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, 00017 * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY 00018 * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, 00019 * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF 00020 * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN 00021 * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON 00022 * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE 00023 * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. 00024 * 00025 * US Government Users Restricted Rights 00026 * Use, duplication, or disclosure by the Government is subject to 00027 * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph 00028 * (c)(1)(ii) of the Rights in Technical Data and Computer Software 00029 * clause at DFARS 252.227-7013 and/or in similar or successor 00030 * clauses in the FAR or the DOD or NASA FAR Supplement. 00031 * Unpublished-- rights reserved under the copyright laws of the 00032 * United States. Contractor/manufacturer is Silicon Graphics, 00033 * Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. 00034 * 00035 * OpenGL(R) is a registered trademark of Silicon Graphics, Inc. 00036 */ 00037 00038 #define P_UISHADOW 343 00039 #define P_UILINESHADOW 344 00040 00041 #define UI_FONT_BOLD 1 00042 #define UI_FONT_NORMAL 2 00043 #define UI_FONT_FIXED_PITCH 3 00044 00045 void uistartdraw(void); 00046 void uirecti(int x, int y, int z, int w); 00047 void uienddraw(void (*uicolor)()); 00048 void uimove2i(int,int); 00049 void uidraw2i(int,int); 00050 void uirectfi(int x, int y, int z, int w); 00051 void uiclear(void); 00052 void uicmov2i(int x, int y); 00053 void uicharstr(char *s, int font); 00054 void uiendline(void); 00055 void uipushviewport(void); 00056 void uipopviewport(void); 00057 void uiviewport(int x, int y, int width, int height); 00058 void uipmv2i(int, int); 00059 void uipdr2i(int, int); 00060 void uipclos(void); 00061 void uiendline(void);
1.2.18