Difference between revisions of "Game-ui.xml"

From MythTV Official Wiki
Jump to: navigation, search
m (MythGame Plugin Windows)
m
 
(3 intermediate revisions by the same user not shown)
Line 35: Line 35:
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|-  
 
|-  
| gametitle
+
| title
 
| align="center"  | textarea
 
| align="center"  | textarea
 
| Plain english title of the selected item.
 
| Plain english title of the selected item.
| align="center"  | <b>Yes</b>
+
| align="center"  | No
 
|-  
 
|-  
| style="background:darkturquoise" | systemname
+
| style="background:darkturquoise" | system
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" | The game system of the selected item.
 
| style="background:darkturquoise" | The game system of the selected item.
| style="background:darkturquoise" align="center" | <b>Yes</b>
+
| style="background:darkturquoise" align="center" | No
 
|-  
 
|-  
| yearname
+
| year
 
| align="center"  | textarea
 
| align="center"  | textarea
 
| The Year of release of the selected item.
 
| The Year of release of the selected item.
| align="center"  | <b>Yes</b>
+
| align="center"  | No
 
|-  
 
|-  
| style="background:darkturquoise" | genrename
+
| style="background:darkturquoise" | genre
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" | The Genre of the selected item.
 
| style="background:darkturquoise" | The Genre of the selected item.
| style="background:darkturquoise" align="center" | <b>Yes</b>
+
| style="background:darkturquoise" align="center" | No
 
|-  
 
|-  
| showfavorite
+
| favorite
| align="center"  | textarea
+
| align="center"  | statetype
| Whether or not the selected item is a favorite (Yes/No).
+
| Whether or not the selected item is a favorite (Yes/No). State names are "yes" and "no"
| align="center"  | <b>Yes</b>
+
| align="center"  | No
 
|-  
 
|-  
| style="background:darkturquoise" | gameimage
+
| style="background:darkturquoise" | screenshot
 
| style="background:darkturquoise" align="center" | imagetype
 
| style="background:darkturquoise" align="center" | imagetype
 
| style="background:darkturquoise" | A screenshot for the selected item.
 
| style="background:darkturquoise" | A screenshot for the selected item.
| style="background:darkturquoise" align="center" | <b>Yes</b>
+
| style="background:darkturquoise" align="center" | No
 
|-  
 
|-  
| boxart
+
| coverart
 
| align="center"  | imagetype
 
| align="center"  | imagetype
 
| The box image of the selected item.
 
| The box image of the selected item.
| align="center"  | <b>Yes</b>
+
| align="center"  | No
 
|-  
 
|-  
 
| style="background:darkturquoise" | fanart
 
| style="background:darkturquoise" | fanart
 
| style="background:darkturquoise" align="center" | imagetype
 
| style="background:darkturquoise" align="center" | imagetype
 
| style="background:darkturquoise" | The fanart image for the selected item.
 
| style="background:darkturquoise" | The fanart image for the selected item.
| style="background:darkturquoise" align="center" | <b>Yes</b>
+
| style="background:darkturquoise" align="center" | No
 
|-  
 
|-  
| plot
+
| description
 
| align="center"  | textarea
 
| align="center"  | textarea
 
| The plot text for the selected item.
 
| The plot text for the selected item.
| align="center"  | <b>Yes</b>
+
| align="center"  | No
 
|}
 
|}
 
  
 
=== The "gamedetailspopup" window ===
 
=== The "gamedetailspopup" window ===
Line 90: Line 89:
 
| align="center"  |<b>Required?</b>
 
| align="center"  |<b>Required?</b>
 
|-  
 
|-  
| gameimage
+
| screenshot
 
| align="center"  | imagetype
 
| align="center"  | imagetype
 
| Screenshot for the selected item.
 
| Screenshot for the selected item.
Line 100: Line 99:
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|-  
 
|-  
| boxart
+
| coverart
 
| align="center"  | imagetype
 
| align="center"  | imagetype
 
| Box art for the selected item.
 
| Box art for the selected item.
 
| align="center"  | <b>Yes</b>
 
| align="center"  | <b>Yes</b>
 
|-  
 
|-  
| style="background:darkturquoise" | gamename
+
| style="background:darkturquoise" | title
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" | Plain english name of the selected item.
 
| style="background:darkturquoise" | Plain english name of the selected item.
Line 180: Line 179:
 
| align="center"  |<b>Required?</b>
 
| align="center"  |<b>Required?</b>
 
|-  
 
|-  
| style="background:darkturquoise" | gamename_edit
+
| style="background:darkturquoise" | title_edit
 
| style="background:darkturquoise" align="center" | textedit
 
| style="background:darkturquoise" align="center" | textedit
 
| style="background:darkturquoise" | Edit widget for game name.
 
| style="background:darkturquoise" | Edit widget for game name.
Line 205: Line 204:
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
| style="background:darkturquoise" align="center" | <b>Yes</b>
 
|-  
 
|-  
| plot_edit
+
| description_edit
 
| align="center" | textedit
 
| align="center" | textedit
 
| Edit widget for game plot.
 
| Edit widget for game plot.
Line 215: Line 214:
 
| style="background:darkturquoise" align="center"  | <b>Yes</b>
 
| style="background:darkturquoise" align="center"  | <b>Yes</b>
 
|-  
 
|-  
| boxart_button
+
| coverart_button
 
| align="center" | button
 
| align="center" | button
 
| Button to bring up file browser for box art.
 
| Button to bring up file browser for box art.
Line 230: Line 229:
 
| align="center" | <b>Yes</b>
 
| align="center" | <b>Yes</b>
 
|-  
 
|-  
| style="background:darkturquoise" |boxart_text
+
| style="background:darkturquoise" |coverart_text
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" align="center" | textarea
 
| style="background:darkturquoise" |Text of absolute path to boxart image file.
 
| style="background:darkturquoise" |Text of absolute path to boxart image file.

Latest revision as of 21:30, 23 September 2009

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
title textarea Plain english title of the selected item. No
system textarea The game system of the selected item. No
year textarea The Year of release of the selected item. No
genre textarea The Genre of the selected item. No
favorite statetype Whether or not the selected item is a favorite (Yes/No). State names are "yes" and "no" No
screenshot imagetype A screenshot for the selected item. No
coverart imagetype The box image of the selected item. No
fanart imagetype The fanart image for the selected item. No
description textarea The plot text for the selected item. No

The "gamedetailspopup" window

Widget Name Widget Type Description Required?
screenshot imagetype Screenshot for the selected item. Yes
fanart imagetype Fanart for the selected item. Yes
coverart imagetype Box art for the selected item. Yes
title 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?
title_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
description_edit textedit Edit widget for game plot. Yes
favorite_check checkbox checkbox to make game a favorite. Yes
coverart_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
coverart_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