Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/uxpm.h

raw
1 /* @(#)uxpm.h 17.1 (ESO-IPG) 01/25/02 17:26:06 */
2 /*---------------------------------------------------------------------
3 * $Date: 2003-06-04 14:49:18 $ $Revision: 1.1.1.1 $
4 *---------------------------------------------------------------------
5 *
6 *
7 * Copyright (c) 1990, Visual Edge Software Ltd.
8 *
9 * ALL RIGHTS RESERVED. Permission to use, copy, modify, and
10 * distribute this software and its documentation for any purpose
11 * and without fee is hereby granted, provided that the above
12 * copyright notice appear in all copies and that both that
13 * copyright notice and this permission notice appear in supporting
14 * documentation, and that the name of Visual Edge Software not be
15 * used in advertising or publicity pertaining to distribution of
16 * the software without specific, written prior permission. The year
17 * included in the notice is the year of the creation of the work.
18 *-------------------------------------------------------------------*/
19
20 #ifndef _UX_XPM_H_
21 #define _UX_XPM_H_
22
23 #include "uxproto.h"
24
25 extern int UxReadPixmapFile UXPROTO((Display *, Drawable, Widget, Colormap, char *, unsigned int*, unsigned int*, int*, int*, unsigned int, Pixmap *));
26 extern int UxReadPixmapOrBitmapFile UXPROTO((Display *, Drawable, Widget, Colormap, char *, unsigned int *, unsigned int *, unsigned int, Pixmap *, int *, int *, int *));
27 extern int UxLoadPixmapFromPixmapOrBitmapFile UXPROTO((swidget, char *, Pixmap *, unsigned *, unsigned *, Pixel, Pixel));
28
29 #define UX_IS_A_BITMAP 1
30 #define UX_IS_A_PIXMAP 2
31
32 #endif /* _UX_XPM_H_ */