mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtappbuilder: use libXpm directly.
This commit is contained in:
parent
f05a7b12c8
commit
6f30664428
6 changed files with 8 additions and 8 deletions
|
@ -52,6 +52,7 @@
|
|||
#include <X11/Intrinsic.h>
|
||||
#include <X11/Composite.h>
|
||||
#include <X11/Shell.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/CascadeB.h>
|
||||
#include <Xm/ScrolledW.h>
|
||||
|
@ -61,7 +62,6 @@
|
|||
#include "dtb_utils.h"
|
||||
#include <ab_private/trav.h>
|
||||
#include <ab_private/proj.h>
|
||||
#include <Dt/xpm.h> /* will this be in include/Dt? */
|
||||
#include "abobjP.h"
|
||||
|
||||
|
||||
|
|
|
@ -103,13 +103,13 @@
|
|||
|
||||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <Xm/FileSB.h>
|
||||
#include <Xm/Label.h>
|
||||
#include <Xm/RowColumn.h>
|
||||
#include <Xm/ToggleB.h>
|
||||
#include <Dt/Dt.h>
|
||||
#include <Dt/Term.h>
|
||||
#include <Dt/xpm.h>
|
||||
#include <Dt/Action.h>
|
||||
#include <Dt/Dts.h>
|
||||
#include "dt_envcontrol.h"
|
||||
|
@ -1339,7 +1339,7 @@ main(int argc, char **argv)
|
|||
DtDbReloadNotify(reloadDB, (XtPointer) NULL);
|
||||
|
||||
/* Set icon pixmap, if there is one */
|
||||
/* status = _DtXpmCreatePixmapFromData(XtDisplay(dtb_get_toplevel_widget()),
|
||||
/* status = XpmCreatePixmapFromData(XtDisplay(dtb_get_toplevel_widget()),
|
||||
DefaultRootWindow(XtDisplay(dtb_get_toplevel_widget())),
|
||||
ab_pm, &xpm_pixmap, (Pixmap *)NULL, (XpmAttributes *)NULL); */
|
||||
if(status == XpmSuccess)
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
#include <X11/Composite.h>
|
||||
#include <X11/Shell.h>
|
||||
#include <X11/cursorfont.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <Xm/XmAll.h>
|
||||
/*
|
||||
#include <Xm/Protocols.h>
|
||||
|
@ -83,7 +84,6 @@
|
|||
#include <ab_private/ui_util.h>
|
||||
#include <ab_private/objxm.h>
|
||||
#include <ab_private/ab.h>
|
||||
#include <Dt/xpm.h> /* will this be in include/Dt? */
|
||||
#include "dtbuilder.h"
|
||||
#include "dtb_utils.h"
|
||||
|
||||
|
|
|
@ -628,7 +628,7 @@ static LibFuncRec abmfP_lrc_set_label_from_xpm_data =
|
|||
" window = RootWindowOfScreen(screen);\n"
|
||||
" }\n"
|
||||
"\n"
|
||||
" status = _DtXpmCreatePixmapFromData(\n"
|
||||
" status = XpmCreatePixmapFromData(\n"
|
||||
" display,\n"
|
||||
" window,\n"
|
||||
" xpmData,\n"
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <Tt/tttk.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <Xm/XmStrDefs.h>
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/Form.h>
|
||||
|
@ -80,7 +81,6 @@
|
|||
#include <Dt/HelpDialog.h>
|
||||
#include <Dt/HelpQuickD.h>
|
||||
#include <Dt/Session.h>
|
||||
#include <Dt/xpm.h> /* doesn't exist in CDE, but OK for testing */
|
||||
|
||||
|
||||
/*
|
||||
|
@ -906,7 +906,7 @@ dtb_set_label_from_xpm_data(
|
|||
window = RootWindowOfScreen(screen);
|
||||
}
|
||||
|
||||
status = _DtXpmCreatePixmapFromData(
|
||||
status = XpmCreatePixmapFromData(
|
||||
display,
|
||||
window,
|
||||
xpmData,
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
#include <sys/param.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
#include <X11/StringDefs.h>
|
||||
#include <X11/xpm.h>
|
||||
#include <Xm/MenuShell.h>
|
||||
#include <Dt/xpm.h>
|
||||
#include <ab_private/obj.h>
|
||||
#include <ab_private/trav.h>
|
||||
#include "objxmP.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue