1: /** 2: * 3: * $Id: DragIcon.h,v 1.3 2000/09/23 14:51:40 amai Exp $ 4: * 5: * Copyright (C) 1995 Free Software Foundation, Inc. 6: * Copyright (C) 1995-2000 LessTif Development Team 7: * 8: * This file is part of the GNU LessTif Library. 9: * 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. 14: * 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. 19: * 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. 23: * 24: **/ 25: 26: #ifndef _XM_DRAGICON_H 27: #define _XM_DRAGICON_H 28: 29: #include <Xm/Xm.h> 30: 31: #ifdef __cplusplus 32: extern "C" { 33: #endif 34: 35: enum { 36: XmATTACH_NORTH_WEST, 37: XmATTACH_NORTH, 38: XmATTACH_NORTH_EAST, 39: XmATTACH_EAST, 40: XmATTACH_SOUTH_EAST, 41: XmATTACH_SOUTH, 42: XmATTACH_SOUTH_WEST, 43: XmATTACH_WEST, 44: XmATTACH_CENTER, 45: XmATTACH_HOT 46: }; 47: 48: #ifndef XmIsDragIcon 49: #define XmIsDragIcon(w) XtIsSubclass(w, xmDragIconObjectClass) 50: #endif 51: 52: typedef struct _XmDragIconRec *XmDragIconObject; 53: typedef struct _XmDragIconClassRec *XmDragIconObjectClass; 54: extern WidgetClass xmDragIconObjectClass; 55: 56: Widget XmCreateDragIcon (Widget widget, String name, ArgList arglist, Cardinal argcount); 57: 58: #ifdef __cplusplus 59: } 60: #endif 61: 62: #endif /* _XM_DRAGICON_H */ 63: