Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:37

0001 /*
0002  * Copyright (c) 1999 by The XFree86 Project, Inc.
0003  *
0004  * Permission is hereby granted, free of charge, to any person obtaining a
0005  * copy of this software and associated documentation files (the "Software"),
0006  * to deal in the Software without restriction, including without limitation
0007  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
0008  * and/or sell copies of the Software, and to permit persons to whom the
0009  * Software is furnished to do so, subject to the following conditions:
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
0017  * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0018  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
0019  * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020  * SOFTWARE.
0021  *
0022  * Except as contained in this notice, the name of the XFree86 Project shall
0023  * not be used in advertising or otherwise to promote the sale, use or other
0024  * dealings in this Software without prior written authorization from the
0025  * XFree86 Project.
0026  *
0027  * Author: Paulo César Pereira de Andrade
0028  */
0029 
0030 #ifndef _XawTipP_h
0031 #define _XawTipP_h
0032 
0033 #include <X11/Xaw/Tip.h>
0034 #include <X11/CoreP.h>
0035 #include <X11/Xaw/XawInit.h>
0036 
0037 typedef struct {
0038     XtPointer extension;
0039 } TipClassPart;
0040 
0041 typedef struct _TipClassRec {
0042     CoreClassPart core_class;
0043     TipClassPart tip_class;
0044 } TipClassRec;
0045 
0046 extern TipClassRec tipClassRec;
0047 
0048 typedef struct _TipPart {
0049     /* resources */
0050     Pixel foreground;
0051     XFontStruct *font;
0052     XFontSet fontset;
0053     Dimension top_margin;
0054     Dimension bottom_margin;
0055     Dimension left_margin;
0056     Dimension right_margin;
0057     int backing_store;
0058     int timeout;
0059     XawDisplayList *display_list;
0060 
0061     /* private */
0062     GC gc;
0063     XtIntervalId timer;
0064     String label;
0065     Boolean international;
0066     unsigned char encoding;
0067     XtPointer pad[4];
0068 } TipPart;
0069 
0070 typedef struct _TipRec {
0071     CorePart core;
0072     TipPart tip;
0073 } TipRec;
0074 
0075 #endif /* _XawTipP_h */