Back to home page

EIC code displayed by LXR

 
 

    


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

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 #ifndef _XmArrowButtonP_h
0024 #define _XmArrowButtonP_h
0025 
0026 #include <Xm/ArrowB.h>
0027 #include <Xm/PrimitiveP.h>
0028 
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032 
0033 /*  Arrow class structure  */
0034 
0035 typedef struct _XmArrowButtonClassPart
0036 {
0037   XtPointer extension;
0038 } XmArrowButtonClassPart;
0039 
0040 
0041 /*  Full class record declaration for Arrow class  */
0042 
0043 typedef struct _XmArrowButtonClassRec
0044 {
0045   CoreClassPart      core_class;
0046   XmPrimitiveClassPart   primitive_class;
0047   XmArrowButtonClassPart arrowbutton_class;
0048 } XmArrowButtonClassRec;
0049 
0050 externalref XmArrowButtonClassRec xmArrowButtonClassRec;
0051 
0052 
0053 /*  The ArrowButton instance record  */
0054 
0055 typedef struct _XmArrowButtonPart
0056 {
0057   XtCallbackList activate_callback;
0058   XtCallbackList arm_callback;
0059   XtCallbackList disarm_callback;
0060   unsigned char  direction; /* The direction the arrow is pointing. */
0061 
0062   Boolean    selected;
0063   short          top_count;
0064   short          cent_count;
0065   short          bot_count;
0066   XRectangle    *top;
0067   XRectangle    *cent;
0068   XRectangle    *bot;
0069 
0070   GC         arrow_GC;
0071   XtIntervalId   timer; 
0072   unsigned char  multiClick;    /* KEEP/DISCARD resource */
0073   int            click_count;
0074   Time       armTimeStamp;
0075   GC         insensitive_GC;
0076   Dimension detail_shadow_thickness ;
0077 } XmArrowButtonPart;
0078 
0079 
0080 /*  Full instance record declaration  */
0081 
0082 typedef struct _XmArrowButtonRec
0083 {
0084   CorePart      core;
0085   XmPrimitivePart   primitive;
0086   XmArrowButtonPart arrowbutton;
0087 } XmArrowButtonRec;
0088 
0089 
0090 /********    Private Function Declarations    ********/
0091 
0092 
0093 /********    End Private Function Declarations    ********/
0094 
0095 
0096 #ifdef __cplusplus
0097 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0098 #endif
0099 
0100 #endif /* _XmArrowButtonP_h */
0101 /* DON'T ADD ANYTHING AFTER THIS #endif */