Structure:Text input

From EX-word
Revision as of 01:35, 25 May 2024 by Benryves (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Offset Type Name Description
0 byte type The text input type being used.
1 byte size The text size for the field (usually 24).
2 byte style 0 is normal, 1 is underlined, 2 is inverted.
4 short x The x coordinate of the field on the screen in pixels.
6 short y The y coordinate of the field on the screen in pixels.
8 short length The maximum length of the field in bytes.
10 byte symbols If set to 5, the symbol picker shows Chinese tone marks.
12 int minimum If the type is numeric, sets the minimum value.
16 int minimum If the type is numeric, sets the maximum value.
20 int number If the type is numeric, stores the numeric value.
24 byte cursor The cursor position within the field in bytes.
25 byte brackets If set to zero hides the brackets drawn around the field.
26 byte[80] text Stores the text input value for non-numeric fields.
106 byte[5] partial Stores partially-entered characters (e.g. "ts" when typing "tsu" for つ).