17a84e134Smrg/* 27a84e134Smrg * Copyright (c) 1999 by The XFree86 Project, Inc. 37a84e134Smrg * 47a84e134Smrg * Permission is hereby granted, free of charge, to any person obtaining a 57a84e134Smrg * copy of this software and associated documentation files (the "Software"), 67a84e134Smrg * to deal in the Software without restriction, including without limitation 77a84e134Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 87a84e134Smrg * and/or sell copies of the Software, and to permit persons to whom the 97a84e134Smrg * Software is furnished to do so, subject to the following conditions: 107a84e134Smrg * 117a84e134Smrg * The above copyright notice and this permission notice shall be included in 127a84e134Smrg * all copies or substantial portions of the Software. 137a84e134Smrg * 147a84e134Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 157a84e134Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 167a84e134Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 177a84e134Smrg * THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 187a84e134Smrg * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 197a84e134Smrg * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 207a84e134Smrg * SOFTWARE. 217a84e134Smrg * 227a84e134Smrg * Except as contained in this notice, the name of the XFree86 Project shall 237a84e134Smrg * not be used in advertising or otherwise to promote the sale, use or other 247a84e134Smrg * dealings in this Software without prior written authorization from the 257a84e134Smrg * XFree86 Project. 267a84e134Smrg * 277a84e134Smrg * Author: Paulo César Pereira de Andrade 287a84e134Smrg */ 297a84e134Smrg 307a84e134Smrg#ifndef _XawTipP_h 317a84e134Smrg#define _XawTipP_h 327a84e134Smrg 337a84e134Smrg#include <X11/Xaw/Tip.h> 347a84e134Smrg#include <X11/CoreP.h> 357a84e134Smrg#include <X11/Xaw/XawInit.h> 367a84e134Smrg 377a84e134Smrgtypedef struct { 387a84e134Smrg XtPointer extension; 397a84e134Smrg} TipClassPart; 407a84e134Smrg 417a84e134Smrgtypedef struct _TipClassRec { 427a84e134Smrg CoreClassPart core_class; 437a84e134Smrg TipClassPart tip_class; 447a84e134Smrg} TipClassRec; 457a84e134Smrg 467a84e134Smrgextern TipClassRec tipClassRec; 477a84e134Smrg 487a84e134Smrgtypedef struct _TipPart { 497a84e134Smrg /* resources */ 507a84e134Smrg Pixel foreground; 517a84e134Smrg XFontStruct *font; 527a84e134Smrg XFontSet fontset; 537a84e134Smrg Dimension top_margin; 547a84e134Smrg Dimension bottom_margin; 557a84e134Smrg Dimension left_margin; 567a84e134Smrg Dimension right_margin; 577a84e134Smrg int backing_store; 587a84e134Smrg int timeout; 597a84e134Smrg XawDisplayList *display_list; 607a84e134Smrg 617a84e134Smrg /* private */ 627a84e134Smrg GC gc; 637a84e134Smrg XtIntervalId timer; 647a84e134Smrg String label; 657a84e134Smrg Boolean international; 667a84e134Smrg unsigned char encoding; 677a84e134Smrg XtPointer pad[4]; 687a84e134Smrg} TipPart; 697a84e134Smrg 707a84e134Smrgtypedef struct _TipRec { 717a84e134Smrg CorePart core; 727a84e134Smrg TipPart tip; 737a84e134Smrg} TipRec; 747a84e134Smrg 757a84e134Smrg#endif /* _XawTipP_h */ 76