708
edits
m (0x108: listbox) |
No edit summary |
||
Line 40: | Line 40: | ||
{{OBDtr| 0x100 | int16 |FFFFC8| 04 00 | 4 | class; the following window classes exist in Oni (values in dec): | {{OBDtr| 0x100 | int16 |FFFFC8| 04 00 | 4 | class; the following window classes exist in Oni (values in dec): | ||
:1 - desktop (not used in dialogs) | :1 - desktop (not used in dialogs) | ||
:3 - | :3 - box | ||
:4 - button | :4 - button | ||
:5 - checkbox | :5 - checkbox | ||
Line 63: | Line 63: | ||
}} | }} | ||
{{OBDtr| 0x108 | int32 |FFC800| 00 00 03 00 | 0x030000 | style; some known values: | {{OBDtr| 0x108 | int32 |FFC800| 00 00 03 00 | 0x030000 | style; some known values: | ||
: | |||
:0x00 | if box: | ||
:0x00 | :0x00 '''02''' 00 00 - draw border | ||
:0x00 '''04''' 00 00 - draw text | |||
if button: | if button: | ||
Line 73: | Line 72: | ||
:0x00 00 '''02''' 00 - show button text | :0x00 00 '''02''' 00 - show button text | ||
:0x00 00 '''10''' 00 - no change in color (visible with the g206 ui, button is single-colored instead of multi-colored) | :0x00 00 '''10''' 00 - no change in color (visible with the g206 ui, button is single-colored instead of multi-colored) | ||
if checkbox: | |||
:0x00 '''01''' 00 00 - draw label | |||
if radiobutton: | |||
:0x00 '''01''' 00 00 - draw label | |||
if edit field: | |||
:0x00 '''01''' 00 00 - readonly? | |||
if listbox: | if listbox: | ||
Line 79: | Line 87: | ||
:0x00 00 '''04''' 00 - unselectable | :0x00 00 '''04''' 00 - unselectable | ||
:0x00 00 '''08''' 00 - show entries | :0x00 00 '''08''' 00 - show entries | ||
:0x00 '''01''' 00 00 - owner draw (the owner windows will draw the list entries) | |||
if picture: | |||
:0x00 '''01''' 00 00 - resize image to fit | |||
:0x00 '''02''' 00 00 - text field contains the name of a texture ([[TXMP]] or [[TXMB]] | |||
:if pull-down menu | |||
:0x00 '''01''' 00 00 - uses menu width | |||
:0x00 '''02''' 00 00 - text field contains the name of a menu ([[WMM_]]) | |||
if text field: | if text field: | ||
Line 85: | Line 102: | ||
:0x00 00 '''04''' 00 - horizontal text align <nowiki>=</nowiki> right | :0x00 00 '''04''' 00 - horizontal text align <nowiki>=</nowiki> right | ||
:0x00 00 '''10''' 00 - vertical text align <nowiki>=</nowiki> center | :0x00 00 '''10''' 00 - vertical text align <nowiki>=</nowiki> center | ||
:0x00 00 '''80''' 00 - | :0x00 00 '''80''' 00 - owner draw | ||
--- | --- | ||
:'''NOTE''': Possible values also include the ones available for the dialog style field. Style values above 0xffff have class specific meaning so the above list is not necesarilly complete (and correct). | :'''NOTE''': Possible values also include the ones available for the dialog style field. Style values above 0xffff have class specific meaning so the above list is not necesarilly complete (and correct). |
edits