Jump to content

OBD:WMDD: Difference between revisions

408 bytes added ,  28 June 2008
m
added style stuff (first element: 0x108)
m (style: 00001000 - no change in color)
m (added style stuff (first element: 0x108))
Line 54: Line 54:
:16 - scrollbar  (not used in dialogs)
:16 - scrollbar  (not used in dialogs)
:17 - slider
:17 - slider
:20 - text only
:20 - text field
}}
}}
{{OBDtr| 0x102 | int16    |C8FFC8| 64 00      | 100              | ID (looked up from code) }}
{{OBDtr| 0x102 | int16    |C8FFC8| 64 00      | 100              | ID (looked up from code) }}
Line 62: Line 62:
:0x'''04''' 00 00 00 -  unknown
:0x'''04''' 00 00 00 -  unknown
}}
}}
{{OBDtr| 0x108 | int32    |FFC800| 00 00 03 00 | 0x030000          | style; some used values:
{{OBDtr| 0x108 | int32    |FFC800| 00 00 03 00 | 0x030000          | style; some known values:
:0x00 00 '''01''' 00 -  show button/scrollbar/checkbox text
:0x00 00 '''01''' 00 -  show button/scrollbar/checkbox text
:0x00 00 '''02''' 00 -  show button text
:0x00 00 '''02''' 00 -  show button text
:0x00 00 '''04''' 00 -  show title
:0x00 00 '''04''' 00 -  show title
:0x00 00 '''08''' 00 -  show listbox entries
:0x00 00 '''08''' 00 -  show listbox entries
:0x00 00 '''10''' 00 -  no change in color (visible with the g206 ui, f.e. button is single-colored instead of multi-colored)
---
 
if button:
:0x00 00 '''01''' 00 -  show button
: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)
 
if text field:
:0x'''01''' 00 00 00 -  show background and border
:0x00 00 '''02''' 00 -  horizontal text align <nowiki>=</nowiki> center
:0x00 00 '''04''' 00 -  horizontal text align <nowiki>=</nowiki> right
:0x00 00 '''10''' 00 -  vertical text align <nowiki>=</nowiki> center
:0x00 00 '''80''' 00 -  hide text
---
:'''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).
}}
}}
1,051

edits