Back to home page

EIC code displayed by LXR

 
 

    


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

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 _XmDragIconP_h
0025 #define _XmDragIconP_h
0026 
0027 #include <Xm/VendorSEP.h>
0028 #include <Xm/DragIcon.h>
0029 
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033 
0034 
0035 typedef void (*XmCloneVisualProc) (XmDragIconObject, Widget, Widget);
0036 typedef void (*XmMovePixmapProc)  (XmDragIconObject, 
0037                    XmDragIconObject, 
0038                    XmDragIconObject,
0039 #if NeedWidePrototypes
0040                    int, int);
0041 #else
0042                    Position, Position);
0043 #endif /* NeedWidePrototypes */
0044 
0045 typedef struct {
0046   XtPointer     extension;
0047 } XmDragIconClassPart;
0048 
0049 typedef struct _XmDragIconClassRec{
0050   RectObjClassPart      rectangle_class;
0051   XmDragIconClassPart       dragIcon_class;
0052 } XmDragIconClassRec;
0053 
0054 typedef struct {
0055   Cardinal  depth;
0056   Pixmap    pixmap;
0057   Dimension width, height;
0058   Pixmap    mask;
0059   Position  hot_x, hot_y;
0060   Position  offset_x, offset_y;
0061   unsigned char attachment;
0062   Boolean   isDirty;
0063   Region        region;
0064   Region        restore_region;
0065   Position  x_offset, y_offset;
0066 } XmDragIconPart, *XmDragIconPartPtr;
0067 
0068 externalref XmDragIconClassRec  xmDragIconClassRec;
0069 
0070 typedef struct _XmDragIconRec{
0071   ObjectPart        object;
0072   RectObjPart       rectangle;
0073   XmDragIconPart    drag;
0074 } XmDragIconRec;
0075 
0076 #ifdef __cplusplus
0077 }  /* Close scope of 'extern "C"' declaration which encloses file. */
0078 #endif
0079 
0080 #endif /* _XmDragIconP_h */