1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
/***************************************************************************/
/* This code is part of X-toolkit widget library called Nws */
/* Copyright (c) 1997,1998,1999 Ondrejicka Stefan */
/* (ondrej@idata.sk) */
/* Distributed under GPL 2 or later */
/***************************************************************************/
#ifndef _MwPopTextP_H_
#define _MwPopTextP_H_
#include <X11/ShellP.h>
#include "MwPopText.h"
typedef struct {
int dummy;
} MwPopTextClassPart;
typedef struct _MwPopTextClassRec {
CoreClassPart core_class;
CompositeClassPart composite_class;
ShellClassPart shell_class;
OverrideShellClassPart override_shell_class;
MwPopTextClassPart popText_class;
} MwPopTextClassRec;
extern MwPopTextClassRec mwPopTextClassRec;
typedef struct _MwPopTextPart {
/* public resources */
char * text;
Pixel foreground;
XFontStruct * font;
int spacing;
/* private */
GC gc;
} MwPopTextPart;
typedef struct _MwPopTextRec {
CorePart core;
CompositePart composite;
ShellPart shell;
OverrideShellPart override;
MwPopTextPart popText;
} MwPopTextRec;
#endif
|