Sfairadora

  • Reference Guide

Label_def

The definition type of a label.
Type
Name
Description
Int|Enki
line
The type of line drawn by the label. One of the label line orientation constants.
Int|Enki optional
alignment
Horizontal alignment of the child. One of the alignment constants. Only the values ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, and ALIGN_BLOCK are allowed.
Bool|Enki
field
If set TRUE, the child is to be contained in a white field. (The actual color can vary according to Windows settings.)
Int|Enki optional
background
Title background color. One of the dispel background constants.
If the value is not set, an appropriate one is inferred from the superordinate dispels.
Int|Enki
line_style
Line style.
If the attribute line is set to LT_HORIZONTAL_LINE or LT_VERTICAL_LINE, it is one of the line style constants.
If the attribute line is set to LT_HORIZONTAL_FRAME, it is one of the frame style constants.
frame_dist
If the attribute line is set to LT_FRAME, the value determines the space between the frame and its contents. The x coordinate determines both the left and right spaces, while the y coordinate determines spaces above and below.
Icon|Enki optional
icon
The icon displayed by the title.
Rich_string|
Enki optional
text
The label text.
Int|Enki
text_offset
The space left to the left of the label text. If the child is placed below the text, a negative value can also be specified, which shifts the text to the left.
Int|Enki
text_pos
The position of the text relative to the line. One of the label text position constants.
Int|Enki
text_style
The text style. One of the label text style constants.
Rich_string|
Enki
suffix
The text displayed next to the child.
Int|Enki
child_pos
The position of the child. One of the child position constants. Only the values CHP_RIGHT (child right to the title) and CHP_BELOW (child below the title).
Bool|Enki
child_outside
If the attribute line is set to LT_FRAME, the child is placed outside the frame.
Int|Enki
child_offset
The space size left to the child.
child
The dispel to be labeled.