Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0025 #ifndef _XmIconBox_h
0026 #define _XmIconBox_h
0027 
0028 #if defined(VMS) || defined(__VMS)
0029 #include <X11/apienvset.h>
0030 #endif
0031 
0032 #include <Xm/Ext.h>
0033 
0034 /************************************************************
0035 *   INCLUDE FILES
0036 *************************************************************/
0037 
0038 /************************************************************
0039 *   TYPEDEFS AND DEFINES
0040 *************************************************************/
0041 
0042 #if defined(__cplusplus)
0043 extern "C" {
0044 #endif
0045 
0046 #define XmIconBoxAnyCell (-5)
0047 
0048 typedef struct _XmIconBoxClassRec   *XmIconBoxWidgetClass;
0049 typedef struct _XmIconBoxRec        *XmIconBoxWidget;
0050 
0051 typedef struct _XmIconBoxDropData {
0052     Position cell_x, cell_y;    /* drop location in cell coordinates. */
0053 } XmIconBoxDropData;
0054 
0055 /************************************************************
0056 *   MACROS
0057 *************************************************************/
0058 
0059 /************************************************************
0060 *   GLOBAL DECLARATIONS
0061 *************************************************************/
0062 
0063 /*  Function Name: XmIconBoxIsCellEmpty
0064  *  Description:   Returns true if this cell is unused.
0065  *  Arguments:     w - the icon box.
0066  *                     x, y - cell to check.
0067  *                     ignore - ignore this widget when checking.
0068  *  Returns:       Returns true if this cell is unused.
0069  */
0070 
0071 Boolean XmIconBoxIsCellEmpty(
0072 #ifndef _NO_PROTO
0073 Widget, Position, Position, Widget
0074 #endif
0075 );
0076 
0077 /*  Function Name: XmCreateIconBox
0078  *  Description: Creation Routine for UIL and ADA.
0079  *  Arguments: parent - the parent widget.
0080  *                 name - the name of the widget.
0081  *                 args, num_args - the number and list of args.
0082  *  Returns: The Widget created.
0083  */
0084 
0085 Widget XmCreateIconBox(
0086 #ifndef _NO_PROTO
0087 Widget, String, ArgList, Cardinal
0088 #endif
0089 );
0090 
0091 /************************************************************
0092 *   EXTERNAL DECLARATIONS
0093 *************************************************************/
0094 
0095 extern WidgetClass xmIconBoxWidgetClass; 
0096 
0097 #if defined(__cplusplus)
0098 }
0099 #endif
0100 
0101 #if defined(VMS) || defined(__VMS)
0102 #include <X11/apienvrst.h>
0103 #endif
0104 
0105 #endif /* _XmIconBox_h */