|
||||
File indexing completed on 2025-01-18 10:15:28
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 #ifndef _XmScale_h 0024 #define _XmScale_h 0025 0026 0027 #include <Xm/Xm.h> 0028 0029 #ifdef __cplusplus 0030 extern "C" { 0031 #endif 0032 0033 /* Class record constants */ 0034 0035 externalref WidgetClass xmScaleWidgetClass; 0036 0037 /* fast XtIsSubclass define */ 0038 #ifndef XmIsScale 0039 #define XmIsScale(w) XtIsSubclass (w, xmScaleWidgetClass) 0040 #endif 0041 0042 typedef struct _XmScaleClassRec * XmScaleWidgetClass; 0043 typedef struct _XmScaleRec * XmScaleWidget; 0044 0045 0046 /******** Public Function Declarations ********/ 0047 0048 void XmScaleSetValue( 0049 Widget w, 0050 int value) ; 0051 void XmScaleGetValue( 0052 Widget w, 0053 int *value) ; 0054 Widget XmCreateScale( 0055 Widget parent, 0056 char *name, 0057 ArgList arglist, 0058 Cardinal argcount) ; 0059 Widget XmVaCreateScale( 0060 Widget parent, 0061 char *name, 0062 ...); 0063 Widget XmVaCreateManagedScale( 0064 Widget parent, 0065 char *name, 0066 ...); 0067 void XmScaleSetTicks( 0068 Widget scale, 0069 int big_every, 0070 Cardinal num_med, 0071 Cardinal num_small, 0072 Dimension size_big, 0073 Dimension size_med, 0074 Dimension size_small); 0075 /******** End Public Function Declarations ********/ 0076 0077 0078 #ifdef __cplusplus 0079 } /* Close scope of 'extern "C"' declaration which encloses file. */ 0080 #endif 0081 0082 #endif /* _XmScale_h */ 0083 /* DON'T ADD ANYTHING AFTER THIS #endif */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |