|
||||
File indexing completed on 2025-01-18 10:14:24
0001 /*********************************************************** 0002 0003 Copyright 1987, 1988, 1998 The Open Group 0004 0005 Permission to use, copy, modify, distribute, and sell this software and its 0006 documentation for any purpose is hereby granted without fee, provided that 0007 the above copyright notice appear in all copies and that both that 0008 copyright notice and this permission notice appear in supporting 0009 documentation. 0010 0011 The above copyright notice and this permission notice shall be included in 0012 all copies or substantial portions of the Software. 0013 0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 0020 0021 Except as contained in this notice, the name of The Open Group shall not be 0022 used in advertising or otherwise to promote the sale, use or other dealings 0023 in this Software without prior written authorization from The Open Group. 0024 0025 0026 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts. 0027 0028 All Rights Reserved 0029 0030 Permission to use, copy, modify, and distribute this software and its 0031 documentation for any purpose and without fee is hereby granted, 0032 provided that the above copyright notice appear in all copies and that 0033 both that copyright notice and this permission notice appear in 0034 supporting documentation, and that the name of Digital not be 0035 used in advertising or publicity pertaining to distribution of the 0036 software without specific, written prior permission. 0037 0038 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 0039 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 0040 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 0041 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 0042 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 0043 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 0044 SOFTWARE. 0045 0046 ******************************************************************/ 0047 0048 #ifndef _Scrollbar_h 0049 #define _Scrollbar_h 0050 0051 /* 0052 * Scrollbar Widget 0053 */ 0054 0055 #include <X11/Xmu/Converters.h> 0056 #include <X11/Xfuncproto.h> 0057 0058 /* Scrollbar resources: 0059 0060 Name Class RepType Default Value 0061 ---- ----- ------- ------------- 0062 accelerators Accelerators AcceleratorTable NULL 0063 ancestorSensitive AncestorSensitive Boolean True 0064 background Background Pixel XtDefaultBackground 0065 backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap 0066 borderColor BorderColor Pixel XtDefaultForeground 0067 borderPixmap Pixmap Pixmap XtUnspecifiedPixmap 0068 borderWidth BorderWidth Dimension 1 0069 colormap Colormap Colormap parent's colormap 0070 cursor Cursor Cursor None 0071 cursorName Cursor String NULL 0072 depth Depth int parent's depth 0073 destroyCallback Callback XtCallbackList NULL 0074 foreground Foreground Pixel XtDefaultForeground 0075 height Height Dimension length or thickness 0076 insensitiveBorder Insensitive Pixmap GreyPixmap 0077 jumpProc Callback XtCallbackList NULL 0078 length Length Dimension 1 0079 mappedWhenManaged MappedWhenManaged Boolean True 0080 minimumThumb MinimumThumb Dimension 7 0081 orientation Orientation XtOrientation XtorientVertical 0082 pointerColor Foreground Pixel XtDefaultForeground 0083 pointerColorBackground Background Pixel XtDefaultBackground 0084 screen Screen Screen parent's screen 0085 scrollDCursor Cursor Cursor XC_sb_down_arrow 0086 scrollHCursor Cursor Cursor XC_sb_h_double_arrow 0087 scrollLCursor Cursor Cursor XC_sb_left_arrow 0088 scrollProc Callback XtCallbackList NULL 0089 scrollRCursor Cursor Cursor XC_sb_right_arrow 0090 scrollUCursor Cursor Cursor XC_sb_up_arrow 0091 scrollVCursor Cursor Cursor XC_sb_v_double_arrow 0092 sensitive Sensitive Boolean True 0093 shown Shown Float 0.0 0094 thickness Thickness Dimension 14 0095 thumb Thumb Bitmap GreyPixmap 0096 thumbProc Callback XtCallbackList NULL 0097 topOfThumb TopOfThumb Float 0.0 0098 translations Translations TranslationTable see source or doc 0099 width Width Dimension thickness or length 0100 x Position Position 0 0101 y Position Position 0 0102 0103 */ 0104 0105 #define XtCMinimumThumb "MinimumThumb" 0106 #define XtCShown "Shown" 0107 #define XtCTopOfThumb "TopOfThumb" 0108 0109 #define XtNminimumThumb "minimumThumb" 0110 #define XtNtopOfThumb "topOfThumb" 0111 0112 typedef struct _ScrollbarRec *ScrollbarWidget; 0113 typedef struct _ScrollbarClassRec *ScrollbarWidgetClass; 0114 0115 extern WidgetClass scrollbarWidgetClass; 0116 0117 _XFUNCPROTOBEGIN 0118 0119 void XawScrollbarSetThumb 0120 ( 0121 Widget scrollbar, 0122 #if NeedWidePrototypes 0123 double top, 0124 double shown 0125 #else 0126 float top, 0127 float shown 0128 #endif 0129 ); 0130 0131 _XFUNCPROTOEND 0132 0133 #endif /* _Scrollbar_h */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |