mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
commit
83b6996daa
18978 changed files with 3945623 additions and 0 deletions
35
cde/lib/DtHelp/XbmUtilsI.h
Normal file
35
cde/lib/DtHelp/XbmUtilsI.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* $XConsortium: XbmUtilsI.h /main/2 1996/05/09 03:45:01 drk $ */
|
||||
#ifndef _DtXbmUtilsI_h
|
||||
#define _DtXbmUtilsI_h
|
||||
|
||||
/* Include files */
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include "GraphicsP.h"
|
||||
|
||||
/* Function prototypes */
|
||||
|
||||
/* Reads an XBM stream into a data buffer */
|
||||
int _DtGrReadBitmapStreamData (
|
||||
_DtGrStream *fstream,
|
||||
unsigned int *width, /* RETURNED */
|
||||
unsigned int *height, /* RETURNED */
|
||||
unsigned char **data, /* RETURNED */
|
||||
int *x_hot, /* RETURNED */
|
||||
int *y_hot /* RETURNED */
|
||||
);
|
||||
|
||||
/* Converts an XBM stream into an X pixmap */
|
||||
int _DtGrReadBitmapStream (
|
||||
Display *display,
|
||||
Drawable d,
|
||||
_DtGrStream *stream,
|
||||
unsigned int *width, /* RETURNED */
|
||||
unsigned int *height, /* RETURNED */
|
||||
Pixmap *pixmap, /* RETURNED */
|
||||
int *x_hot, /* RETURNED */
|
||||
int *y_hot /* RETURNED */
|
||||
);
|
||||
|
||||
#endif /* _DtXbmUtilsI_h */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif */
|
||||
Loading…
Add table
Add a link
Reference in a new issue