1 /* 2 * Motif 3 * 4 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 5 * 6 * These libraries and programs are free software; you can 7 * redistribute them and/or modify them under the terms of the GNU 8 * Lesser General Public License as published by the Free Software 9 * Foundation; either version 2 of the License, or (at your option) 10 * any later version. 11 * 12 * These libraries and programs are distributed in the hope that 13 * they will be useful, but WITHOUT ANY WARRANTY; without even the 14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 15 * PURPOSE. See the GNU Lesser General Public License for more 16 * details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with these librararies and programs; if not, write 20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 21 * Floor, Boston, MA 02110-1301 USA 22 * 23 */ 24 /* 25 * HISTORY 26 */ 27 /* $XConsortium: ResIndI.h /main/5 1995/07/13 17:50:09 drk $ */ 28 #ifndef _XmResIndI_h 29 #define _XmResIndI_h 30 31 #include <Xm/XmP.h> 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 /******** Private Function Declarations for ResInd.c ********/ 38 39 40 extern int _XmConvertUnits( 41 Screen *screen, 42 int dimension, 43 register int from_type, 44 register int from_val, 45 register int to_type) ; 46 extern void _XmUnitTypeDefault( 47 Widget widget, 48 int offset, 49 XrmValue *value) ; 50 extern unsigned char _XmGetUnitType( 51 Widget widget) ; 52 extern int _XmConvertFloatUnitsToIntUnits( 53 int unitType, 54 float unitValue, 55 int *intUnitType, 56 float *intUnitValue, 57 int default_from_type) ; 58 extern int _XmConvertStringToUnits( 59 Screen *screen, 60 String spec, 61 int default_from_type, 62 int orientation, 63 int to_type, 64 XtEnum *parse_error); 65 extern void _XmStringDirectionDefault(Widget widget, 66 int offset, 67 XrmValue *value ); 68 69 /******** End Private Function Declarations ********/ 70 71 #ifdef __cplusplus 72 } /* Close scope of 'extern "C"' declaration which encloses file. */ 73 #endif 74 75 #endif /* _XmResIndI_h */ 76 /* DON'T ADD ANYTHING AFTER THIS #endif */ 77