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 #ifndef _BUBBLEBUTTON_H
26 #define _BUBBLEBUTTON_H
27
28 #include <X11/IntrinsicP.h>
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 #ifndef XltNfadeRate
35 #define XltNfadeRate
"fadeRate"
36 #endif
37 #ifndef XltCFadeRate
38 #define XltCFadeRate
"FadeRate"
39 #endif
40 #ifndef XltNdelay
41 #define XltNdelay
"delay"
42 #endif
43 #ifndef XltCDelay
44 #define XltCDelay
"Delay"
45 #endif
46 #define XltNbubbleString
"bubbleString"
47 #define XltCBubbleString
"BubbleString"
48 #define XltNshowBubble
"showBubble"
49 #define XltCShowBubble
"ShowBubble"
50
51 #ifndef XltNmouseOverPixmap
52 #define XltNmouseOverPixmap
"mouseOverPixmap"
53 #define XltCMouseOverPixmap
"MouseOverPixmap"
54 #endif
55 #ifndef XltNmouseOverString
56 #define XltNmouseOverString
"mouseOverString"
57 #define XltCMouseOverString
"MouseOverString"
58 #endif
59 #ifndef XltNbubbleDuration
60 #define XltNbubbleDuration
"bubbleDuration"
61 #endif
62 #ifndef XltCBubbleDuration
63 #define XltCBubbleDuration
"BubbleDuration"
64 #endif
65 #ifndef XltNslidingBubble
66 #define XltNslidingBubble
"slidingBubble"
67 #endif
68 #ifndef XltCslidingBubble
69 #define XltCslidingBubble
"SlidingBubble"
70 #endif
71 #ifndef XltNautoParkBubble
72 #define XltNautoParkBubble
"autoParkBubble"
73 #endif
74 #ifndef XltCautoParkBubble
75 #define XltCautoParkBubble
"AutoParkBubble"
76 #endif
77
78 extern WidgetClass xrwsBubbleButtonWidgetClass;
79
80 typedef struct _XltBubbleButtonRec *XltBubbleButtonWidget;
81 typedef struct _XltBubbleButtonClassRec *XltBubbleButtonWidgetClass;
82 #if 0
83 typedef struct {
84 int reason;
85 char *data;
86 int len;
87 } XltHostCallbackStruct, _XltHostCallbackStruct;
88 #endif
89
90
91 #define XltIsBubbleButton(w) XtIsSubclass((w), xrwsBubbleButtonWidgetClass)
92
93 extern Widget XltCreateBubbleButton(Widget parent,
94 char *name,
95 Arg *arglist,
96 Cardinal argCount);
97 #ifdef __cplusplus
98 }
99 #endif
100
101 #endif
102