1,051
edits
(done) |
m (I'm not happy with "done"; @0x108: added more used values. why popup-menu? why values byte-swapped? --> confusing. why deleted last entry in text field (show background)?) |
||
Line 43: | Line 43: | ||
{{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 - groupbox | ||
:4 - button | :4 - button | ||
:5 - checkbox | :5 - checkbox | ||
Line 52: | Line 52: | ||
:10 - menu (not used in dialogs) | :10 - menu (not used in dialogs) | ||
:11 - picture ([[OBD:TXMB|TXMB]], [[OBD:TXMP|TXMP]] or [[OBD:PSpc|PSpc]]) | :11 - picture ([[OBD:TXMB|TXMB]], [[OBD:TXMP|TXMP]] or [[OBD:PSpc|PSpc]]) | ||
:12 - popup menu ([[OBD:WMM_|WMM_]]) | :12 - popup menu (<nowiki>=</nowiki> pulldown menu <nowiki>=</nowiki> drop-down menu) ([[OBD:WMM_|WMM_]]) | ||
:13 - progress bar | :13 - progress bar | ||
:14 - radio button | :14 - radio button | ||
Line 73: | Line 73: | ||
:0x00 '''01''' 00 00 - draw button | :0x00 '''01''' 00 00 - draw button | ||
:0x00 '''02''' 00 00 - draw button text | :0x00 '''02''' 00 00 - draw button text | ||
:0x00 '''08''' 00 00 - unknown | |||
:0x00 '''10''' 00 00 - default button (the button that coresponds to the Enter key) | :0x00 '''10''' 00 00 - default button (the button that coresponds to the Enter key) | ||
Line 89: | Line 90: | ||
:0x00 '''04''' 00 00 - unselectable | :0x00 '''04''' 00 00 - unselectable | ||
:0x00 '''08''' 00 00 - draw items | :0x00 '''08''' 00 00 - draw items | ||
:0x00 ''' | :0x00 '''10''' 00 00 - owner draw (the owner window will draw the list items) | ||
:0x00 '''20''' 00 00 - unknown | |||
if picture: | if picture: | ||
Line 102: | Line 104: | ||
:0x00 '''04''' 00 00 - horizontal text align <nowiki>=</nowiki> right | :0x00 '''04''' 00 00 - horizontal text align <nowiki>=</nowiki> right | ||
:0x00 '''10''' 00 00 - vertical text align <nowiki>=</nowiki> center | :0x00 '''10''' 00 00 - vertical text align <nowiki>=</nowiki> center | ||
:0x00 '''80''' 00 00 - owner draw | :0x00 '''80''' 00 00 - owner draw (hides text) | ||
:0x00 00 00 '''01''' - show background | |||
}} | }} | ||
{{OBDtr| 0x10C | int16 |C87C64| 5E 01 | 350 | x coordinate (relative to the top left corner of the window) }} | {{OBDtr| 0x10C | int16 |C87C64| 5E 01 | 350 | x coordinate (relative to the top left corner of the window) }} |
edits