Fix for SF bug #1122813: Tab-related crash on posting unload calltips file
[nedit.git] / Xlt / SlideC.h
blob753fe537de54aa44603a7962784e76714b00fec3
1 /**
3 * $Id: SlideC.h,v 1.1 2003/12/23 08:34:36 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 **/
26 #ifndef _SLIDEC_H
27 #define _SLIDEC_H
29 #include <X11/Intrinsic.h>
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
35 #ifndef XltIsSlideContext
36 #define XltIsSlideContext(w) XtIsSubclass(w,xltSlideContextClass)
37 #endif
38 #ifndef XltNslideFinishCallback
39 #define XltNslideFinishCallback "slideFinishCallback"
40 #endif
41 #ifndef XltCSlideFinishCallback
42 #define XltCSlideFinishCallback "SlideFinishCallback"
43 #endif
44 #ifndef XltNslideMotionCallback
45 #define XltNslideMotionCallback "slideMotionCallback"
46 #endif
47 #ifndef XltCSlideMotionCallback
48 #define XltCSlideMotionCallback "SlideMotionCallback"
49 #endif
50 #ifndef XltNslideWidget
51 #define XltNslideWidget "slideWidget"
52 #endif
53 #ifndef XltCSlideWidget
54 #define XltCSlideWidget "SlideWidget"
55 #endif
56 #ifndef XltNslideInterval
57 #define XltNslideInterval "slideInterval"
58 #endif
59 #ifndef XltCSlideInterval
60 #define XltCSlideInterval "SlideInterval"
61 #endif
62 #ifndef XltNslideDestWidth
63 #define XltNslideDestWidth "slideDestWidth"
64 #endif
65 #ifndef XltCSlideDestWidth
66 #define XltCSlideDestWidth "SlideDestWidth"
67 #endif
68 #ifndef XltNslideDestHeight
69 #define XltNslideDestHeight "slideDestHeight"
70 #endif
71 #ifndef XltCSlideDestHeight
72 #define XltCSlideDestHeight "SlideDestHeight"
73 #endif
74 #ifndef XltNslideDestX
75 #define XltNslideDestX "slideDestX"
76 #endif
77 #ifndef XltCSlideDestX
78 #define XltCSlideDestX "SlideDestX"
79 #endif
80 #ifndef XltNslideDestY
81 #define XltNslideDestY "slideDestY"
82 #endif
83 #ifndef XltCSlideDestY
84 #define XltCSlideDestY "SlideDestY"
85 #endif
87 extern WidgetClass xltSlideContextWidgetClass;
89 typedef struct _XltSlideContextRec *XltSlideContextWidget;
90 typedef struct _XltSlideContextClassRec *XmSlideContextWidgetClass;
92 typedef struct _XltSlideStruct {
93 Widget w;
94 XtWidgetGeometry dest;
95 unsigned long interval;
96 XtIntervalId id;
97 } XltSlideStruct, *XltSlidePtr;
99 void XltSlide(XltSlidePtr slide_info);
101 #ifdef __cplusplus
103 #endif
104 #endif