LogoP.h revision 3da7aff1
1/* $Xorg: LogoP.h,v 1.4 2001/02/09 02:05:54 xorgcvs Exp $ */
2/*
3
4Copyright 1988, 1993, 1998  The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included
13in all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
19OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21OTHER DEALINGS IN THE SOFTWARE.
22
23Except as contained in this notice, the name of The Open Group shall
24not be used in advertising or otherwise to promote the sale, use or
25other dealings in this Software without prior written authorization
26from The Open Group.
27
28*/
29/* $XFree86$ */
30
31#ifndef _XawLogoP_h
32#define _XawLogoP_h
33
34#include "Logo.h"
35#include <X11/Xaw/SimpleP.h>
36
37#ifdef XRENDER
38#include <X11/extensions/Xrender.h>
39#include <X11/Xft/Xft.h>
40#endif
41
42typedef struct {
43         Pixel fgpixel;
44	 GC	 foreGC;
45	 GC	 backGC;
46	 Boolean shape_window;
47	 Boolean need_shaping;
48#ifdef XRENDER
49         Boolean render;
50         Boolean sharp;
51	 XftDraw    *draw;
52         XRenderPictFormat *mask_format;
53	 XftColor   fg;
54	 XftColor   bg;
55#endif
56   } LogoPart;
57
58typedef struct _LogoRec {
59   CorePart core;
60   SimplePart simple;
61   LogoPart logo;
62   } LogoRec;
63
64typedef struct {int dummy;} LogoClassPart;
65
66typedef struct _LogoClassRec {
67   CoreClassPart core_class;
68   SimpleClassPart simple_class;
69   LogoClassPart logo_class;
70   } LogoClassRec;
71
72extern LogoClassRec logoClassRec;
73
74#endif /* _XawLogoP_h */
75