dtudcfonted: use libXpm directly.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include<X11/Xlib.h>
|
||||
#include<X11/Xutil.h>
|
||||
#include<X11/Xatom.h>
|
||||
#include<X11/xpm.h>
|
||||
|
||||
#include <Xm/XmAll.h>
|
||||
|
||||
@@ -54,12 +55,7 @@ extern XtPointer _XmStringUngenerate (XmString string,
|
||||
#include "selectxlfd.h"
|
||||
#include "xoakufont.h"
|
||||
|
||||
#include "xpm.h"
|
||||
#ifdef XPM
|
||||
#define ReadXpm XpmCreatePixmapFromData
|
||||
#else
|
||||
#define ReadXpm _DtXpmCreatePixmapFromData
|
||||
#endif
|
||||
#include "pixmaps/arrow.pm"
|
||||
|
||||
static Widget CreateCopyXLFD(Widget Top);
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <wchar.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <Xm/XmAll.h>
|
||||
#include <Xm/RowColumn.h>
|
||||
#include <Xm/MainW.h>
|
||||
@@ -51,7 +52,6 @@ void _unmap( Widget w, XtPointer closure, XtPointer call_data);
|
||||
|
||||
extern Resource resource ;
|
||||
|
||||
#include "xpm.h"
|
||||
#include "pixmaps/Pencil.pm"
|
||||
#include "pixmaps/Line.pm"
|
||||
#include "pixmaps/Rectangle.pm"
|
||||
@@ -59,11 +59,7 @@ extern Resource resource ;
|
||||
#include "pixmaps/Eraser.pm"
|
||||
#include "pixmaps/SelectArea.pm"
|
||||
|
||||
#ifdef XPM
|
||||
#define ReadXpm XpmCreatePixmapFromData
|
||||
#else
|
||||
#define ReadXpm _DtXpmCreatePixmapFromData
|
||||
#endif
|
||||
#define NUMPIX 6
|
||||
|
||||
#include "pixmaps/arrow.pm"
|
||||
|
||||
Reference in New Issue
Block a user