Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:28

0001 /*
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022 */
0023 
0024 #ifndef _SLIDEC_H
0025 #define _SLIDEC_H
0026 
0027 #include <X11/Intrinsic.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 #ifndef XmIsSlideContext
0034 #define XmIsSlideContext(w) XtIsSubclass(w,xmSlideContextClass)
0035 #endif
0036 #ifndef XmNslideFinishCallback
0037 #define XmNslideFinishCallback "slideFinishCallback"
0038 #endif
0039 #ifndef XmCSlideFinishCallback
0040 #define XmCSlideFinishCallback "SlideFinishCallback"
0041 #endif
0042 #ifndef XmNslideMotionCallback
0043 #define XmNslideMotionCallback "slideMotionCallback"
0044 #endif
0045 #ifndef XmCSlideMotionCallback
0046 #define XmCSlideMotionCallback "SlideMotionCallback"
0047 #endif
0048 #ifndef XmNslideWidget
0049 #define XmNslideWidget "slideWidget"
0050 #endif
0051 #ifndef XmCSlideWidget
0052 #define XmCSlideWidget "SlideWidget"
0053 #endif
0054 #ifndef XmNslideInterval
0055 #define XmNslideInterval "slideInterval"
0056 #endif
0057 #ifndef XmCSlideInterval
0058 #define XmCSlideInterval "SlideInterval"
0059 #endif
0060 #ifndef XmNslideDestWidth
0061 #define XmNslideDestWidth "slideDestWidth"
0062 #endif
0063 #ifndef XmCSlideDestWidth
0064 #define XmCSlideDestWidth "SlideDestWidth"
0065 #endif
0066 #ifndef XmNslideDestHeight
0067 #define XmNslideDestHeight "slideDestHeight"
0068 #endif
0069 #ifndef XmCSlideDestHeight
0070 #define XmCSlideDestHeight "SlideDestHeight"
0071 #endif
0072 #ifndef XmNslideDestX
0073 #define XmNslideDestX "slideDestX"
0074 #endif
0075 #ifndef XmCSlideDestX
0076 #define XmCSlideDestX "SlideDestX"
0077 #endif
0078 #ifndef XmNslideDestY
0079 #define XmNslideDestY "slideDestY"
0080 #endif
0081 #ifndef XmCSlideDestY
0082 #define XmCSlideDestY "SlideDestY"
0083 #endif
0084 
0085 extern WidgetClass xmSlideContextWidgetClass;
0086 
0087 typedef struct _XmSlideContextRec *XmSlideContextWidget;
0088 typedef struct _XmSlideContextClassRec *XmSlideContextWidgetClass;
0089 
0090 typedef struct _XmSlideStruct {
0091     Widget w;
0092     XtWidgetGeometry dest;
0093     unsigned long interval;
0094     XtIntervalId id;
0095 } XmSlideStruct, *XmSlidePtr;
0096 
0097 void XmSlide(XmSlidePtr slide_info);
0098 
0099 #ifdef __cplusplus
0100 }
0101 #endif
0102 #endif