1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
#ifndef InterfaceGraphic_X11Header
# define InterfaceGraphic_X11Header
/*
Copyright (C) 1991,1992,1993 by
MATRA DATAVISION, FRANCE
This software is furnished in accordance with the terms and conditions
of the contract and with the inclusion of the above copyright notice.
This software or any other copy thereof may not be provided or otherwise
be made available to any other person. No title to an ownership of the
software is hereby transferred.
At the termination of the contract, the software and all copies of this
software must be deleted.
Facility : CAS-CADE V1
*/
# ifndef WNT
# include <stdio.h>
# include <X11/Xlib.h>
# include <X11/Xutil.h>
# include <X11/Xatom.h>
#if 0
# if defined (sun) || defined (SUNOS) || defined (__alpha) || defined (DECOSF1) || defined (sgi) || defined (IRIX) || defined (__hpux)|| defined (HPUX)
# ifndef icon_width
# include <X11/bitmaps/icon>
# endif
# endif /* SUNOS or DECOSF1 or SOLARIS or HPUX or IRIX */
# ifdef ULTRIX
# ifndef icon_width
/* le contenu de #include <X11/bitmaps/icon> sur SUN */
#define icon_width 16
#define icon_height 16
static unsigned char icon_bits[] = {
0xff, 0xff, 0xab, 0xaa, 0x55, 0xd5, 0xab, 0xaa, 0x05, 0xd0, 0x0b, 0xa0,
0x05, 0xd0, 0x0b, 0xa0, 0x05, 0xd0, 0x0b, 0xa0, 0x05, 0xd0, 0x0b, 0xa0,
0x55, 0xd5, 0xab, 0xaa, 0x55, 0xd5, 0xff, 0xff};
# endif
# endif /* ULTRIX */
#endif
# define WINDOW Window
# ifndef EXPORT
# define EXPORT
# endif /* EXPORT */
# else
# define STRICT
# include <windows.h>
# ifdef DrawText
# undef DrawText
# endif /* DrawText */
# define WINDOW HWND
# ifndef EXPORT
# ifdef __InterfaceGraphic_DLL
# define EXPORT __declspec(dllexport)
# else
# define EXPORT
# endif /* __InterfaceGraphic_DLL */
# endif /* EXPORT */
# endif /* WNT */
#endif /* InterfaceGraphic_X11Header */
|