Difference between revisions of "Game-ui.xml"
From MythTV Official Wiki
Iamlindoro (talk | contribs) (add plot UI stuff) |
Iamlindoro (talk | contribs) (→The "edit_metadata" window) |
||
Line 200: | Line 200: | ||
| style="background:darkturquoise" align="center" | <b>Yes</b> | | style="background:darkturquoise" align="center" | <b>Yes</b> | ||
|- | |- | ||
− | | | + | | plot_edit |
− | | align="center" | + | | align="center" | textedit |
− | | | + | | Edit widget for game plot. |
− | | align="center" | + | | align="center" | <b>Yes</b> |
|- | |- | ||
− | | style="background:darkturquoise" | | + | | style="background:darkturquoise" |favorite_check |
− | | style="background:darkturquoise" align="center" | | + | | style="background:darkturquoise" align="center" | checkbox |
− | | style="background:darkturquoise" | | + | | style="background:darkturquoise" |checkbox to make game a favorite. |
− | | style="background:darkturquoise" align="center" | <b>Yes</b> | + | | style="background:darkturquoise" align="center" | <b>Yes</b> |
|- | |- | ||
− | | | + | | boxart_button |
− | | align="center" | + | | align="center" | button |
− | | | + | | Button to bring up file browser for box art. |
− | | align="center" | + | | align="center" | <b>Yes</b> |
|- | |- | ||
− | | style="background:darkturquoise" | | + | | style="background:darkturquoise" |fanart_button |
− | | style="background:darkturquoise" align="center" | button | + | | style="background:darkturquoise" align="center" | button |
− | | style="background:darkturquoise" | | + | | style="background:darkturquoise" |button to bring up file browser for fanart. |
− | | style="background:darkturquoise" align="center" | <b>Yes</b> | + | | style="background:darkturquoise" align="center" | <b>Yes</b> |
|- | |- | ||
− | | | + | | screenshot_button |
− | | align="center" | | + | | align="center" | button |
− | | | + | | Button to bring up file browser for screenshot. |
| align="center" | <b>Yes</b> | | align="center" | <b>Yes</b> | ||
|- | |- | ||
− | | style="background:darkturquoise" | | + | | style="background:darkturquoise" |boxart_text |
− | | style="background:darkturquoise" align="center" | + | | style="background:darkturquoise" align="center" | textarea |
− | | style="background:darkturquoise" | Text of absolute path to | + | | style="background:darkturquoise" |Text of absolute path to boxart image file. |
− | | style="background:darkturquoise" align="center" | <b>Yes</b> | + | | style="background:darkturquoise" align="center" | <b>Yes</b> |
+ | |- | ||
+ | | fanart_text | ||
+ | | align="center" | textarea | ||
+ | | Text of absolute path to fanart image file. | ||
+ | | align="center" | <b>Yes</b> | ||
|- | |- | ||
− | | screenshot_text | + | | style="background:darkturquoise" |screenshot_text |
− | | align="center" | textarea | + | | style="background:darkturquoise" align="center" | textarea |
− | | Text of absolute path to screenshot image file. | + | | style="background:darkturquoise" |Text of absolute path to screenshot image file. |
− | | align="center" | <b>Yes</b> | + | | style="background:darkturquoise" align="center" | <b>Yes</b> |
|- | |- | ||
− | + | | done_button | |
− | | | + | | align="center" | button |
− | + | | "Done" button. | |
− | | | + | | align="center" | <b>Yes</b> |
|} | |} |
Revision as of 15:54, 11 July 2009
The game-ui.xml file governs the layout and behavior of the MythGame plugin. It consists of the following windows and named attributes:
Contents
MythGame Plugin Windows
Window Name | Type | Description |
gameui | Window | The Main MythGame Interface |
gamedetailspopup | Popup Window | The Game Info Screen |
edit_metadata | Window | Edit Game Metadata screen. |
The "gameui" window
Widget Name | Widget Type | Description | Required? |
gametreelist | buttontree | Button Tree for emulator/game/genre hierarchy. | Yes |
gametitle | textarea | Plain english title of the selected item. | Yes |
systemname | textarea | The game system of the selected item. | Yes |
yearname | textarea | The Year of release of the selected item. | Yes |
genrename | textarea | The Genre of the selected item. | Yes |
showfavorite | textarea | Whether or not the selected item is a favorite (Yes/No). | Yes |
gameimage | imagetype | A screenshot for the selected item. | Yes |
boxart | imagetype | The box image of the selected item. | Yes |
fanart | imagetype | The fanart image for the selected item. | Yes |
plot | textarea | The plot text for the selected item. | Yes |
The "gamedetailspopup" window
Widget Name | Widget Type | Description | Required? |
fanart | imagetype | Fanart for the selected item. | Yes |
boxart | imagetype | Box art for the selected item. | Yes |
gamename | textarea | Plain english name of the selected item. | Yes |
allsystems | textarea | Plain english emulator name. | Yes |
gametype | textarea | Internal myth emulator type name. | Yes |
crc | textarea | CRC value for the selected item. | Yes |
romname | textarea | Name of the ROM file. | Yes |
rompath | textarea | Path to the ROM file. | Yes |
publisher | textarea | The publisher of the selected item. | Yes |
year | textarea | Release year of the selected item. | Yes |
genre | textarea | Genre of the selected item. | Yes |
country | textarea | Country of the selected item. | Yes |
plot | textarea | The plot for the selected item. | Yes |
done_button | button | "Done" (Cancel) button. | Yes |
play_button | button | "Play" button. | Yes |
The "edit_metadata" window
Widget Name | Widget Type | Description | Required? |
gamename_edit | textedit | Edit widget for game name. | Yes |
genre_edit | textedit | Edit widget for game genre. | Yes |
year_edit | textedit | Edit widget for game release year. | Yes |
country_edit | textedit | Edit widget for game country. | Yes |
publisher_edit | textedit | Edit widget for game publisher. | Yes |
plot_edit | textedit | Edit widget for game plot. | Yes |
favorite_check | checkbox | checkbox to make game a favorite. | Yes |
boxart_button | button | Button to bring up file browser for box art. | Yes |
fanart_button | button | button to bring up file browser for fanart. | Yes |
screenshot_button | button | Button to bring up file browser for screenshot. | Yes |
boxart_text | textarea | Text of absolute path to boxart image file. | Yes |
fanart_text | textarea | Text of absolute path to fanart image file. | Yes |
screenshot_text | textarea | Text of absolute path to screenshot image file. | Yes |
done_button | button | "Done" button. | Yes |