Patch from ICS to do proper subclassing - this will make it more immune to
[nedit.git] / Xlt / BubbleButton.h
blobef683396364cb2b9b0d0743eb157bb78bc0e4208
1 /**
3 * $Id: BubbleButton.h,v 1.2 2003/12/25 06:55:07 tksoh Exp $
5 * Copyright (C) 1996 Free Software Foundation, Inc.
6 * Copyright © 1999-2001 by the LessTif developers.
8 * This file is part of the GNU LessTif Extension Library.
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details.
20 * You should have received a copy of the GNU Library General Public
21 * License along with this library; if not, write to the Free
22 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 **/
25 #ifndef _BUBBLEBUTTON_H
26 #define _BUBBLEBUTTON_H
28 #include <X11/IntrinsicP.h>
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
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"
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
78 extern WidgetClass xrwsBubbleButtonWidgetClass;
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
91 #define XltIsBubbleButton(w) XtIsSubclass((w), xrwsBubbleButtonWidgetClass)
93 extern Widget XltCreateBubbleButton(Widget parent,
94 char *name,
95 Arg *arglist,
96 Cardinal argCount);
97 #ifdef __cplusplus
98 } /* Close scope of 'extern "C"' declaration which encloses file. */
99 #endif
101 #endif