aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/obm/ObmW/Converters.h
blob: 45f15fad03a9ca2513f26aa99acc16105ae8f123 (plain) (blame)
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
#ifndef _Converters_h
#define _Converters_h

Boolean XfwfCvtLongToString(
#if NeedFunctionPrototypes
    Display *display,
    XrmValuePtr args,
    Cardinal *num_args,
    XrmValuePtr from,
    XrmValuePtr to,
    XtPointer *converter_data
#endif
);

Boolean cvtStringToIcon(
#if NeedFunctionPrototypes
    Display *dpy,
    XrmValue *args,
    Cardinal *num_args,
    XrmValue *from,
    XrmValue *to,
    XtPointer *converter_data
#endif
);

#ifndef NO_XPM

#include <xpm.h>

/* The |Icon| type is a convenient combination of a pixmap, a mask and
the pixmaps's attributes. Not all attributes are stored, only width
and height. */

typedef struct _Icon {
    Pixmap pixmap;
    Pixmap mask;
    XpmAttributes attributes;
} Icon;

#endif

#endif /* _Converters_h */