1 /************************************************************************/
2 /*									*/
3 /*  Motif implementation utility functions. Always use via		*/
4 /*  drawUtilImpl.h							*/
5 /*									*/
6 /************************************************************************/
7 
8 #   ifdef USE_MOTIF /* { */
9 
10 #   include	"appGuiBase.h"
11 #   include	"drawImpl.h"
12 #   include	"drawColors.h"
13 #   include	"appXftColorList.h"
14 
15 #   include	<X11/Xlib.h>
16 #   include	<bitmap.h>
17 
18 extern const char * const APP_VisualClasses[];
19 
20 /************************************************************************/
21 /*									*/
22 /*  Utility Routines							*/
23 /*									*/
24 /************************************************************************/
25 
26 extern int drawUtilMotifMakeImage(
27 			Display *			display,
28 			int				screen,
29 			APP_IMAGE **			pPimage,
30 			int				toWide,
31 			int				toHigh,
32 			AppColors *			ac,
33 			const RasterImage *		abi,
34 			const DocumentRectangle *	drSel );
35 
36 extern XftDraw * appMotifXftDrawCreate(	Display *		display,
37 					int			screen,
38 					Drawable		drawable,
39 					AppXftColorList *	xftColorList );
40 
41 extern AppColors *	guiGetColorsMotif( Display *	display );
42 
43 #   endif	/* } USE_MOTIF */
44