mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Remove DtXpm.
This commit is contained in:
parent
6f30664428
commit
c47e290379
4 changed files with 1 additions and 203 deletions
|
@ -1,90 +0,0 @@
|
||||||
/*
|
|
||||||
* CDE - Common Desktop Environment
|
|
||||||
*
|
|
||||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
|
||||||
*
|
|
||||||
* These libraries and programs are free software; you can
|
|
||||||
* redistribute them and/or modify them under the terms of the GNU
|
|
||||||
* Lesser General Public License as published by the Free Software
|
|
||||||
* Foundation; either version 2 of the License, or (at your option)
|
|
||||||
* any later version.
|
|
||||||
*
|
|
||||||
* These libraries and programs are distributed in the hope that
|
|
||||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
|
||||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
* PURPOSE. See the GNU Lesser General Public License for more
|
|
||||||
* details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with these libraries and programs; if not, write
|
|
||||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
||||||
* Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/* $XConsortium: xpm.h /main/4 1996/02/19 16:42:00 lehors $ */
|
|
||||||
/*
|
|
||||||
* (c) Copyright 1996 Digital Equipment Corporation.
|
|
||||||
* (c) Copyright 1996 Hewlett-Packard Company.
|
|
||||||
* (c) Copyright 1996 International Business Machines Corp.
|
|
||||||
* (c) Copyright 1996 Sun Microsystems, Inc.
|
|
||||||
* (c) Copyright 1996 Novell, Inc.
|
|
||||||
* (c) Copyright 1996 FUJITSU LIMITED.
|
|
||||||
* (c) Copyright 1996 Hitachi.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****************************************************************************\
|
|
||||||
* *
|
|
||||||
* This is only a wrapper around the Xpm functions which now come as part of *
|
|
||||||
* Motif. This is provided for backward compatibility only and therefore only *
|
|
||||||
* supports symbols declared as private in the elist and none of the internal *
|
|
||||||
* ones. *
|
|
||||||
* *
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef xpm_h
|
|
||||||
#define xpm_h
|
|
||||||
|
|
||||||
#include <Xm/XpmP.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int _DtXpmCreatePixmapFromData(Display *display,
|
|
||||||
Drawable d,
|
|
||||||
char **data,
|
|
||||||
Pixmap *pixmap_return,
|
|
||||||
Pixmap *shapemask_return,
|
|
||||||
XpmAttributes *attributes);
|
|
||||||
|
|
||||||
extern int _DtXpmReadFileToPixmap(Display *display,
|
|
||||||
Drawable d,
|
|
||||||
char *filename,
|
|
||||||
Pixmap *pixmap_return,
|
|
||||||
Pixmap *shapemask_return,
|
|
||||||
XpmAttributes *attributes);
|
|
||||||
|
|
||||||
extern int _DtXpmWriteFileFromPixmap(Display *display,
|
|
||||||
char *filename,
|
|
||||||
Pixmap pixmap,
|
|
||||||
Pixmap shapemask,
|
|
||||||
XpmAttributes *attributes);
|
|
||||||
|
|
||||||
extern int _DtXpmReadFileToImage(Display *display,
|
|
||||||
char *filename,
|
|
||||||
XImage **image_return,
|
|
||||||
XImage **shapeimage_return,
|
|
||||||
XpmAttributes *attributes);
|
|
||||||
|
|
||||||
extern int _DtXpmWriteFileFromImage(Display *display,
|
|
||||||
char *filename,
|
|
||||||
XImage *image,
|
|
||||||
XImage *shapeimage,
|
|
||||||
XpmAttributes *attributes);
|
|
||||||
|
|
||||||
extern void _DtXpmFreeAttributes(XpmAttributes *attributes);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} /* for C++ V2.0 */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -1,105 +0,0 @@
|
||||||
/*
|
|
||||||
* CDE - Common Desktop Environment
|
|
||||||
*
|
|
||||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
|
||||||
*
|
|
||||||
* These libraries and programs are free software; you can
|
|
||||||
* redistribute them and/or modify them under the terms of the GNU
|
|
||||||
* Lesser General Public License as published by the Free Software
|
|
||||||
* Foundation; either version 2 of the License, or (at your option)
|
|
||||||
* any later version.
|
|
||||||
*
|
|
||||||
* These libraries and programs are distributed in the hope that
|
|
||||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
|
||||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
* PURPOSE. See the GNU Lesser General Public License for more
|
|
||||||
* details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with these libraries and programs; if not, write
|
|
||||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
||||||
* Floor, Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
/* $XConsortium: xpm.c /main/1 1996/02/19 16:41:55 lehors $ */
|
|
||||||
/*
|
|
||||||
* (c) Copyright 1996 Digital Equipment Corporation.
|
|
||||||
* (c) Copyright 1996 Hewlett-Packard Company.
|
|
||||||
* (c) Copyright 1996 International Business Machines Corp.
|
|
||||||
* (c) Copyright 1996 Sun Microsystems, Inc.
|
|
||||||
* (c) Copyright 1996 Novell, Inc.
|
|
||||||
* (c) Copyright 1996 FUJITSU LIMITED.
|
|
||||||
* (c) Copyright 1996 Hitachi.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****************************************************************************\
|
|
||||||
* *
|
|
||||||
* This is only a wrapper around the Xpm functions which now come as part of *
|
|
||||||
* Motif. This is provided for backward compatibility only and therefore only *
|
|
||||||
* supports symbols declared as private in the elist and none of the internal *
|
|
||||||
* ones. *
|
|
||||||
* *
|
|
||||||
\*****************************************************************************/
|
|
||||||
|
|
||||||
#include <Xm/XpmP.h>
|
|
||||||
|
|
||||||
int _DtXpmCreatePixmapFromData(Display *display,
|
|
||||||
Drawable d,
|
|
||||||
char **data,
|
|
||||||
Pixmap *pixmap_return,
|
|
||||||
Pixmap *shapemask_return,
|
|
||||||
XpmAttributes *attributes)
|
|
||||||
{
|
|
||||||
return XpmCreatePixmapFromData(display, d, data,
|
|
||||||
pixmap_return, shapemask_return,
|
|
||||||
attributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
int _DtXpmReadFileToPixmap(Display *display,
|
|
||||||
Drawable d,
|
|
||||||
char *filename,
|
|
||||||
Pixmap *pixmap_return,
|
|
||||||
Pixmap *shapemask_return,
|
|
||||||
XpmAttributes *attributes)
|
|
||||||
{
|
|
||||||
return XpmReadFileToPixmap(display, d, filename,
|
|
||||||
pixmap_return, shapemask_return,
|
|
||||||
attributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
int _DtXpmWriteFileFromPixmap(Display *display,
|
|
||||||
char *filename,
|
|
||||||
Pixmap pixmap,
|
|
||||||
Pixmap shapemask,
|
|
||||||
XpmAttributes *attributes)
|
|
||||||
{
|
|
||||||
return XpmWriteFileFromPixmap(display, filename,
|
|
||||||
pixmap, shapemask,
|
|
||||||
attributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
int _DtXpmReadFileToImage(Display *display,
|
|
||||||
char *filename,
|
|
||||||
XImage **image_return,
|
|
||||||
XImage **shapeimage_return,
|
|
||||||
XpmAttributes *attributes)
|
|
||||||
{
|
|
||||||
return XpmReadFileToImage(display, filename,
|
|
||||||
image_return, shapeimage_return,
|
|
||||||
attributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
int _DtXpmWriteFileFromImage(Display *display,
|
|
||||||
char *filename,
|
|
||||||
XImage *image,
|
|
||||||
XImage *shapeimage,
|
|
||||||
XpmAttributes *attributes)
|
|
||||||
{
|
|
||||||
return XpmWriteFileFromImage(display, filename,
|
|
||||||
image, shapeimage,
|
|
||||||
attributes);
|
|
||||||
}
|
|
||||||
|
|
||||||
void _DtXpmFreeAttributes(XpmAttributes *attributes)
|
|
||||||
{
|
|
||||||
XpmFreeAttributes(attributes);
|
|
||||||
}
|
|
|
@ -136,5 +136,4 @@ libDtSvc_la_SOURCES = DtCodelibs/buf.C \
|
||||||
DtUtil2/UErrNoBMS.c \
|
DtUtil2/UErrNoBMS.c \
|
||||||
DtUtil2/Utility.c \
|
DtUtil2/Utility.c \
|
||||||
DtUtil2/XlationSvc.c \
|
DtUtil2/XlationSvc.c \
|
||||||
DtUtil2/XmWrap.c \
|
DtUtil2/XmWrap.c
|
||||||
DtXpm/xpm.c
|
|
||||||
|
|
|
@ -278,12 +278,6 @@ private _DtWsmSelectionNameForScreen
|
||||||
private _DtWsmSetBackdropSearchPath
|
private _DtWsmSetBackdropSearchPath
|
||||||
private _DtWsmSetDtWmHints
|
private _DtWsmSetDtWmHints
|
||||||
private _DtWsmSetWorkspaceTitle
|
private _DtWsmSetWorkspaceTitle
|
||||||
private _DtXpmCreatePixmapFromData
|
|
||||||
private _DtXpmFreeAttributes
|
|
||||||
private _DtXpmReadFileToImage
|
|
||||||
private _DtXpmReadFileToPixmap
|
|
||||||
private _DtXpmWriteFileFromImage
|
|
||||||
private _DtXpmWriteFileFromPixmap
|
|
||||||
private _Dt_NextChar
|
private _Dt_NextChar
|
||||||
private _Dt_PrevChar
|
private _Dt_PrevChar
|
||||||
private _Dt_isspace
|
private _Dt_isspace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue