OBD:WMDD: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{OBD_File_Header|align=center|type=WMDD|prev=WMCL|next=WMM_|name=WM (Window Menu) Dialog Data|family=Global}} | |||
---- | |||
The image below shows the beginning of the file with the settings of the main window. | The image below shows the beginning of the file with the settings of the main window. | ||
Line 52: | Line 49: | ||
{| BORDER=0 WIDTH=100% | {| BORDER=0 WIDTH=100% | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | 01 00 - | | ALIGN=RIGHT | 01 00 - | ||
| thin light blue coloured border around the window | | thin light blue coloured border around the window (background) | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | 02 00 - | | ALIGN=RIGHT | 02 00 - | ||
| | | thick light lila coloured border around the window (foreground) | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | 04 00 - | | ALIGN=RIGHT | 04 00 - | ||
| light lila coloured title bar | | light lila coloured title bar | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | | | ALIGN=RIGHT | 08 00 - | ||
| | | title | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | | | ALIGN=RIGHT | 10 00 - | ||
| | | disabled "close the window" box | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | | | ALIGN=RIGHT | 20 00 - | ||
| | | disabled "restore the window" box | ||
|- VALIGN=TOP | |- VALIGN=TOP | ||
| ALIGN=RIGHT | | | ALIGN=RIGHT | 40 00 - | ||
| | | disabled "minimize the window" box | ||
|} | |} | ||
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | ||
| BGCOLOR="#FFC8C8" | 01 00 | | BGCOLOR="#FFC8C8" | 01 00 | ||
Line 192: | Line 136: | ||
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | |- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | ||
| BGCOLOR="#FFDDDD" | 03 00 | | BGCOLOR="#FFDDDD" | 03 00 | ||
| | | button+text | ||
| ALIGN=LEFT | | | ALIGN=LEFT | visibility bitset | ||
01 - button<BR>02 - text | |||
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | |- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | ||
Line 229: | Line 173: | ||
| ALIGN=LEFT | unknown | | ALIGN=LEFT | unknown | ||
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | |- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | ||
| BGCOLOR="#00C864" | 00 7F FF | | BGCOLOR="#00C864" | 00 7F FF FF | ||
| 0, 127, 255 | | 0, 127, 255, 255 | ||
| ALIGN=LEFT | font color ( | | ALIGN=LEFT | font color (BGRA) | ||
|- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | |- VALIGN=TOP ALIGN=CENTER BGCOLOR="#FFEEDD" | ||
| BGCOLOR="#00C8FF" | 00 00 | | BGCOLOR="#00C8FF" | 00 00 | ||
Line 245: | Line 185: | ||
| ALIGN=LEFT | font size | | ALIGN=LEFT | font size | ||
|} | |} | ||
;Bold/italic... a bitset? | |||
:does 3 work as bold italic? | |||
---- | |||
{{OBD_File_Footer|align=center|type=WMDD|prev=WMCL|next=WMM_|name=WM (Window Menu) Dialog Data|family=Global}} | |||
Revision as of 03:33, 22 March 2007
|
The image below shows the beginning of the file with the settings of the main window.
Hex | Translation | Meaning | ||||||||||||||
01 05 06 00 | 1541 | 01541-dialog_mainmenu.WMDD | ||||||||||||||
01 00 00 00 | 0 | level 0 | ||||||||||||||
Main Menu | title of the window | |||||||||||||||
96 00 00 00 | 150 | identification number, that this is the main menu dialog; do not change it | ||||||||||||||
01 00 00 00 | 1 | window status; the following types are possible:
| ||||||||||||||
00 00 | 0 | window design; the design is stored as bits, so the following bits are possible:
| ||||||||||||||
01 00 | 1 | window position; the following positions are possible:
00 - the window is located in the upper left corner of the screen | ||||||||||||||
00 00 00 00 | 0 | unknown | ||||||||||||||
80 02 | 640 | width of the window | ||||||||||||||
E0 01 | 480 | height of the window | ||||||||||||||
06 00 00 00 | 6 | 6 entries follow |
The following pic gives an example of an entry of the the main window (area edged in black).
Hex | Translation | Meaning |
New Game | button text | |
04 00 | 4 | button type |
64 00 | 100 | button is enabled + link to the window; the links for this file are:
64 - "new game" window |
01 00 | 1 | button options |
00 00 | 0 | unknown |
00 00 | 0 | window design, see table above |
03 00 | button+text | visibility bitset
01 - button |
5E 01 | 350 | x-position of the button (from the upper left corner of the window) |
E6 00 | 230 | y-position of the button (from the upper left corner of the window) |
B4 00 | 180 | x-dimension of the button (width) |
28 00 | 40 | y-dimension of the button (height) |
01 02 00 00 | 2 | link to 00002-Tahoma.TSFF? |
01 00 | 1 | font option; the following options are possible:
00 - normal font |
00 00 | 0 | unknown |
00 7F FF FF | 0, 127, 255, 255 | font color (BGRA) |
00 00 | 0 | unknown |
0A 00 | 10 | font size |
- Bold/italic... a bitset?
- does 3 work as bold italic?
ONI BINARY DATA |
---|
WMCL << Other file types >> WMM_ |
WMDD : WM (Window Menu) Dialog Data |
Global file |