1 /* $XConsortium: IconFile.h /main/5 1995/07/15 20:51:44 drk $ */ 2 /* 3 * Motif 4 * 5 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 6 * 7 * These libraries and programs are free software; you can 8 * redistribute them and/or modify them under the terms of the GNU 9 * Lesser General Public License as published by the Free Software 10 * Foundation; either version 2 of the License, or (at your option) 11 * any later version. 12 * 13 * These libraries and programs are distributed in the hope that 14 * they will be useful, but WITHOUT ANY WARRANTY; without even the 15 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 16 * PURPOSE. See the GNU Lesser General Public License for more 17 * details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with these librararies and programs; if not, write 21 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 22 * Floor, Boston, MA 02110-1301 USA 23 * 24 */ 25 /* 26 * HISTORY 27 */ 28 #ifndef _XmIconFile_h 29 #define _XmIconFile_h 30 31 #include <Xm/Xm.h> 32 #ifdef __cplusplus 33 extern "C" { 34 #endif 35 36 /* 37 * values for icon magnitude 38 */ 39 #define XmUNSPECIFIED_ICON_SIZE 0 40 #define XmLARGE_ICON_SIZE 1 41 #define XmMEDIUM_ICON_SIZE 2 42 #define XmSMALL_ICON_SIZE 3 43 #define XmTINY_ICON_SIZE 4 44 45 46 /******** Public Function Declarations for IconFile.c ********/ 47 48 extern String XmGetIconFileName( 49 Screen *screen, 50 String imageInstanceName, 51 String imageClassName, 52 String hostPrefix, 53 unsigned int size) ; 54 55 /******** End Public Function Declarations ********/ 56 57 #ifdef __cplusplus 58 } /* Close scope of 'extern "C"' declaration which encloses file. */ 59 #endif 60 61 #endif /* _XmIconFile_h */ 62 /* DON'T ADD ANYTHING AFTER THIS #endif */ 63 64 65 66