-
Notifications
You must be signed in to change notification settings - Fork 7
/
SGMLListTextP.h
60 lines (44 loc) · 2.11 KB
/
SGMLListTextP.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
56
57
58
59
60
/*==================================================================*/
/* */
/* SGMLListTextObject */
/* */
/* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu) June.92 */
/* */
/* Defines a text segment for the SGMLHyper widget */
/* */
/*==================================================================*/
#ifndef SGMLLISTTEXTP_H
#define SGMLLISTTEXTP_H
#include "SGMLListText.h"
#include "SGMLCompositeTextP.h"
typedef struct _SGMLListTextClassPart{
XtPointer extension; /* pointer to extension record */
} SGMLListTextClassPart;
typedef struct _SGMLListTextClassRec{
ObjectClassPart object_class;
SGMLTextClassPart sgml_text_class;
SGMLCompositeTextClassPart sgml_composite_text_class;
SGMLListTextClassPart sgml_list_text_class;
} SGMLListTextClassRec, *SGMLListTextObjectClass;
extern SGMLListTextClassRec sGMLListTextClassRec;
typedef struct _BulletList
{
Position x;
Position y;
} BulletListItem, *BulletList;
typedef struct _SGMLListTextPart {
BulletList bullets; /* pointer to array of bullets */
Cardinal num_bullets; /* total number of bullets */
Cardinal alloc_bullets; /* total number of bullets allocated */
int bullet_type; /* type of bullets */
Dimension bullet_size; /* size of bullets */
Pixel bullet_color; /* color of bullets */
Dimension bullet_indent; /* indentation of bullet */
} SGMLListTextPart;
typedef struct _SGMLListTextRec {
ObjectPart object;
SGMLTextPart sgml_text;
SGMLCompositeTextPart sgml_composite_text;
SGMLListTextPart sgml_list_text;
} SGMLListTextRec;
#endif SGMLLISTTEXTP_H