-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathdf.markup_text_box.xml
65 lines (58 loc) · 2.61 KB
/
df.markup_text_box.xml
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
61
62
63
64
65
<data-definition>
-- Unused: textprocessinfost
<bitfield-type type-name='markup_text_word_flag' base-type='uint32_t'> bay12: MARKUP_TEXT_WORD_FLAG_*
<flag-bit name='NEW_LINE'/>
<flag-bit name='BLANK_LINE'/>
<flag-bit name='INDENT'/>
</bitfield-type>
<struct-type type-name='markup_text_wordst'>
<stl-string name='str'/>
<uint8_t name='red' init-value='255'/>
<uint8_t name='green' init-value='255'/>
<uint8_t name='blue' init-value='255'/>
<int32_t name='link_index' init-value='-1' comment="refers to this text box's link vector, makes clickable link in legends mode"/>
<int32_t name='px' init-value='-1' comment='offset from left of text box in characters'/>
<int32_t name='py' init-value='-1' comment='offset from top of text box (positive is downwards)'/>
<bitfield name='flags' base-type='uint32_t' type-name='markup_text_word_flag'/>
</struct-type>
<enum-type type-name='markup_text_link_type' base-type='int32_t'> bay12: MarkupTextLinkType
<enum-item name='NONE' value='-1'/>
<enum-item name='HIST_FIG'/>
<enum-item name='SITE'/>
<enum-item name='ARTIFACT'/>
<enum-item name='BOOK'/>
<enum-item name='SUBREGION'/>
<enum-item name='FEATURE_LAYER'/>
<enum-item name='ENTITY'/>
<enum-item name='ABSTRACT_BUILDING'/>
<enum-item name='ENTITY_POPULATION'/>
<enum-item name='ART_IMAGE'/>
<enum-item name='ERA'/>
<enum-item name='HEC'/>
</enum-type>
<struct-type type-name='markup_text_linkst'>
<enum type-name='markup_text_link_type' name='type'/>
<int32_t name='id' init-value='-1'/>
<int32_t name='subid' init-value='-1' comment='only used for type ABSTRACT_BUILDING and ART_IMAGE'/>
</struct-type>
<struct-type type-name='markup_text_boxst'>
<stl-vector pointer-type='markup_text_wordst' name='word'/>
<stl-vector pointer-type='markup_text_linkst' name='link'/>
<int32_t name='current_width' init-value='-1'/>
<int32_t name='max_y' init-value='0'/>
<pointer type-name='script_environmentst' name='environment' comment='not saved'/>
</struct-type>
<class-type type-name='markup_text_box_widget' inherits-from='widget'>
<int32_t name='scroll'/>
<int32_t name='num_visible'/>
<bool name='scrolling'/>
<compound type-name='scrollbarst' name='scrollbar'/>
<pointer type-name='markup_text_boxst' name='box'/>
</class-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->