![]() |
|
|||
File indexing completed on 2025-03-13 09:29:44
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 _ScrollbarP_h 0049 #define _ScrollbarP_h 0050 0051 #include <X11/Xaw/Scrollbar.h> 0052 #include <X11/Xaw/SimpleP.h> 0053 0054 typedef struct { 0055 /* resources */ 0056 Pixel foreground; /* thumb foreground color */ 0057 XtOrientation orientation; /* horizontal or vertical */ 0058 XtCallbackList scrollProc; /* proportional scroll */ 0059 XtCallbackList thumbProc; /* jump (to position) scroll */ 0060 XtCallbackList jumpProc; /* same as thumbProc but pass data by ref */ 0061 Pixmap thumb; /* thumb pixmap */ 0062 Cursor upCursor; /* scroll up cursor */ 0063 Cursor downCursor; /* scroll down cursor */ 0064 Cursor leftCursor; /* scroll left cursor */ 0065 Cursor rightCursor; /* scroll right cursor */ 0066 Cursor verCursor; /* scroll vertical cursor */ 0067 Cursor horCursor; /* scroll horizontal cursor */ 0068 float top; 0069 float shown; 0070 Dimension length; /* either height or width */ 0071 Dimension thickness; /* either width or height */ 0072 Dimension min_thumb; /* minimum size for the thumb */ 0073 0074 /* private */ 0075 Cursor inactiveCursor; /* The normal cursor for scrollbar */ 0076 char direction; /* a scroll has started; which direction */ 0077 GC gc; /* a (shared) gc */ 0078 Position topLoc; /* Pixel that corresponds to top */ 0079 Dimension shownLength; /* Num pixels corresponding to shown */ 0080 #ifndef OLDXAW 0081 XtPointer pad[4]; /* for future use and keep binary compatibility */ 0082 #endif 0083 } ScrollbarPart; 0084 0085 typedef struct _ScrollbarRec { 0086 CorePart core; 0087 SimplePart simple; 0088 ScrollbarPart scrollbar; 0089 } ScrollbarRec; 0090 0091 typedef struct { 0092 XtPointer extension; 0093 } ScrollbarClassPart; 0094 0095 typedef struct _ScrollbarClassRec { 0096 CoreClassPart core_class; 0097 SimpleClassPart simple_class; 0098 ScrollbarClassPart scrollbar_class; 0099 } ScrollbarClassRec; 0100 0101 extern ScrollbarClassRec scrollbarClassRec; 0102 0103 #endif /* _ScrollbarP_h */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |