Game-ui.xml

From MythTV Official Wiki
Revision as of 15:57, 11 July 2009 by Iamlindoro (talk | contribs) (The "gamedetailspopup" window)

Jump to: navigation, search

The game-ui.xml file governs the layout and behavior of the MythGame plugin. It consists of the following windows and named attributes:

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?
gameimage imagetype Screenshot for the selected item. Yes
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