INFO
A control's internal properties such as its content and the content's size and alignment. The required attributes will differ depending on the type of control.
- The
INFO
element has both INFO Attributes and Shared Attributes.- It can optionally contain
N
elements that have N Attributes and Shared Attributes. - If the
N
's nation/region matches the client's, the shared attributes will overrideINFO
's.
- It can optionally contain
INFO Attributes
Name | Example | Presence | Notes |
---|---|---|---|
TYPE | 8 | always | see Types |
NM | 횚쨌횂횄짖_126x23 | optional | name or description |
N Attributes
Name | Example | Presence | Notes |
---|---|---|---|
NATION | 2 | always | the region the other attributes should apply to |
Shared Attributes
Name | Example | Presence | Notes |
---|---|---|---|
EC | 10 | optional | alignment |
IX _Y | 5 | optional | background image filename |
CX _Y | FFFFFFFF | optional | color |
TX | Fondo X | optional | text to display |
SX _Y | TODO | optional | TODO |
POSX | 0 0 | optional | x, y |
SZX | 126 23 | optional | width, height |
UVX _Y | 0 0 1 0 0 1 1 1 | optional | texture coordinates (top left, top right, bottom left, bottom right) |
TAX | 18 | optional | text alignment |
FNX | Verdana 13 700 | optional | font, size, weight |
FCX _Y | FFFFFFFF | optional | TODO color |
FOX _Y | 0 | optional | sometimes 0, mostly 1 (font shadow enabled?) |
FOCX _Y | FFFFFFFF | optional | TODO color |
Types
- Sprite
- Button
- n/a
- CheckBox
- ComboBox
- Slider
- TextArea
- TextInput
- ListBox
- ScrollView
Examples
0.02TW Login background image
<INFO TYPE="1" NM="째챠횁짚_쨌횓짹횞횓_쨔챔째챈" EC="1" SZ1="1024 768" I1_1="1" UV1_1="0 0 1 0 0 0.75 1 0.75" POS1="0 0" />
This describes a:
- Sprite
- Content aligned "top left"
- Size 1024x768
- Image ID 1
- Image UVs 0 0 1 0 0 0.75 1 0.75
- only the top 75% of the image in height is used, because the source image is 1024x1024, but the element is 1024x768
- Content position 0,0
0.02TW Login title text
<INFO TYPE="1" NM="쨔짰짹쨍_쨌횓짹횞횓 쨍횉횈짰" EC="1" SZ1="262 25" POS1="0 0" T1="횁짖쩌횙 쩐횈횑쨉챨쩔횒 쨘챰쨔횖쨔첩횊짙쨍짝 횚쨌횂횉횕쩌쩌쩔채." C1_1="FFFFFF" FN1="Trebuchet MS 18 700">
<N NATION="2" T1="Please enter your ID and password" FN1="Trebuchet MS 18 700" />
<N NATION="3" FN1="Trebuchet MS 20 700" />
</INFO>
This describes a:
- Sprite
- Content aligned "top left"
- Size 262x25
- Content position 0,0
- Default text "횁짖쩌횙 쩐횈횑쨉챨쩔횒 쨘챰쨔횖쨔첩횊짙쨍짝 횚쨌횂횉횕쩌쩌쩔채."
- Text color #FFFFFF
- Font "Trebuchet MS" size 18 weight 700
The following region overrides can apply:
- If the region is 2
- Text "Please enter your ID and password" is used instead
- Font configuration "Trebuchet MS 18 700" is used instead, but it's the same
- If the region is 3
- Font configuration "Trebuchet MS 20 700" is used instead, which is 2pt larger
0.02TW Login username input
<INFO TYPE="8" NM="횚쨌횂횄짖_126x23" EC="10" SZ1="126 23" FC1_1="FFFFFFFF" SZ2="2 2" SZ3="2 2" SZ4="2 2" SZ5="2 2" SZ6="2 2" SZ7="2 2" SZ8="2 1" SZ9="2 1" SZ10="21 21" POS1="0 0" C1_1="FF666666" POS2="0 0" POS3="0 0" POS4="0 0" POS5="0 0" POS6="0 0" POS7="0 0" POS8="0 0" POS10="131 1" POS9="0 0" C2_1="FFFFFF" C3_1="FFFFFF" C4_1="FFFFFF" C5_1="FFFFFF" C6_1="FFFFFF" C7_1="FFFFFF" C8_1="FFFFFF" C9_1="FFFFFF" C10_1="FFFFFF" FN1="Verdana 13 700" />