-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathSGMLCompositeTextP.h
55 lines (40 loc) · 2.2 KB
/
SGMLCompositeTextP.h
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
47
48
49
50
51
52
53
54
55
/*==================================================================*/
/* */
/* SGMLCompositeTextObject */
/* */
/* T.Johnson - ([email protected]) June.92 */
/* */
/* Defines a text segment for the SGMLHyper widget */
/* */
/*==================================================================*/
#ifndef SGMLCOMPOSITETEXTP_H
#define SGMLCOMPOSITETEXTP_H
#include "SGMLCompositeText.h"
#include "SGMLTextP.h"
typedef struct _SGMLCompositeTextClassPart{
XtGeometryHandler geometry_manager; /* geometry manager for children */
XtWidgetProc change_managed; /* change managed state of child */
XtWidgetProc insert_child; /* physically add child to parent */
XtWidgetProc delete_child; /* physically remove child */
XtPointer extension; /* pointer to extension record */
} SGMLCompositeTextClassPart;
typedef struct _SGMLCompositeTextClassRec{
ObjectClassPart object_class;
SGMLTextClassPart sgml_text_class;
SGMLCompositeTextClassPart sgml_composite_text_class;
} SGMLCompositeTextClassRec, *SGMLCompositeTextObjectClass;
extern SGMLCompositeTextClassRec sGMLCompositeTextClassRec;
typedef struct _SGMLCompositeTextPart {
WidgetList children; /* array of ALL widget children */
Cardinal num_children; /* total number of widget children */
Cardinal num_slots; /* number of slots in children array */
XtOrderProc insert_position; /* compute position of new child */
SGMLTagList *tag_list; /* list of allowed tags */
WidgetClass default_class; /* default class of children */
} SGMLCompositeTextPart;
typedef struct _SGMLCompositeTextRec {
ObjectPart object;
SGMLTextPart sgml_text;
SGMLCompositeTextPart sgml_composite_text;
} SGMLCompositeTextRec;
#endif SGMLCOMPOSITETEXTP_H