User Tools

Site Tools


layouts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
layouts [2020/03/18 07:56]
phulshof
layouts [2020/09/24 13:04]
phulshof [<menu> Parameters]
Line 83: Line 83:
 ^<​menu>​ tag parameters^^ ​ ^<​menu>​ tag parameters^^ ​
 |type |The type of menu to display. Set to custom to specify all the points on the screen. Set to vertical to have a vertical scrolling list prebuilt for the layout| |type |The type of menu to display. Set to custom to specify all the points on the screen. Set to vertical to have a vertical scrolling list prebuilt for the layout|
 +|videoType |If specified, uses a videoto be displayed for each menu item (if it exists). Text will be used if the video as well as an image as specified under imageType could not be found.|
 |imageType |If specified, uses an image to be displayed for each menu item (if it exists). Text will be used if the image could not be found.| |imageType |If specified, uses an image to be displayed for each menu item (if it exists). Text will be used if the image could not be found.|
 |orientation |Set to "​horizontal"​ to use the Left/Right controls to scroll. set to "​vertical"​ to use Up/Down.| |orientation |Set to "​horizontal"​ to use the Left/Right controls to scroll. set to "​vertical"​ to use Up/Down.|
 |scrollTime |The amount of time (in seconds) it takes for an item to scroll to the next point on the menu (i.e 0.750 = 750 milliseconds)| |scrollTime |The amount of time (in seconds) it takes for an item to scroll to the next point on the menu (i.e 0.750 = 750 milliseconds)|
 |scrollAcceleration |The acceleration rate to scroll by when holding down the up/​down/​left/​right scroll key| |scrollAcceleration |The acceleration rate to scroll by when holding down the up/​down/​left/​right scroll key|
 +|minScrollTime |The minimum amount of time (in seconds) it takes for an item to scroll to the next point in the menu that scrollAcceleration can reduce it to. |
 |menuIndex ​     |The index at which the menu should be inserted in the menu hierarchy. If omitted, the menu will be inserted at the next index. This also allows multiple menus to be inserted at the same index, displaying multiple menus at the same time.| |menuIndex ​     |The index at which the menu should be inserted in the menu hierarchy. If omitted, the menu will be inserted at the next index. This also allows multiple menus to be inserted at the same index, displaying multiple menus at the same time.|
  
Line 163: Line 165:
  
 ^<​reloadableVideo>​ tag parameters^^ ^<​reloadableVideo>​ tag parameters^^
 +|type |The type of video to display: “numberButtons”,​ “numberPlayers”,​ “ctrlType”,​ “numberJoyWays”,​ “rating”,​ “score”,​ “year”, “title”,​ “developer”,​ “manufacturer”,​ “genre”,​ “playlist”,​ “collectionName”,​ “collectionSize”,​ “collectionIndex”,​ “collectionIndexSize”,​ or any type you pick where the title will be used as the name of the file.|
 |imageType |The type of image to display if a video cannot be found: "​numberButtons",​ "​numberPlayers",​ "​year",​ "​title",​ "​manufacturer",​ "​genre"​.| |imageType |The type of image to display if a video cannot be found: "​numberButtons",​ "​numberPlayers",​ "​year",​ "​title",​ "​manufacturer",​ "​genre"​.|
 |mode |See mode attribute for more details.| |mode |See mode attribute for more details.|
Line 317: Line 320:
 |onMenuJumpEnter |Action happens on entering a jump in the menu (next/​previous letter/​page,​ random).| |onMenuJumpEnter |Action happens on entering a jump in the menu (next/​previous letter/​page,​ random).|
 |onMenuJumpExit |Action happens on exiting a jump in the menu (next/​previous letter/​page,​ random).| |onMenuJumpExit |Action happens on exiting a jump in the menu (next/​previous letter/​page,​ random).|
 +|onAttractEnter |Action happens on entering attract mode.| 
 +|onAttract |Action happens continuously while in attract mode.| 
 +|onAttractExit |Action happens on exiting attract mode.|
 The action type can be combined with a menuIndex attribute. This will force RetroFE to only activate the animation for the specified menu index, with 0 being the main menu. Some examples: The action type can be combined with a menuIndex attribute. This will force RetroFE to only activate the animation for the specified menu index, with 0 being the main menu. Some examples:
 ^  menuIndex ​ ^  Activated on  ^ ^  menuIndex ​ ^  Activated on  ^
layouts.txt · Last modified: 2021/09/03 17:14 by phulshof