Menu
Menu (menu) is a replacement for the stock dvdplayer.bin activity selection screen.
Version: 1.0
Status: Done
Description
- Instead of creating XML UI description language similar to KML, I chose .INI files for ease of use by designers/users.
- Ditched Nano-X for a significantly lighter custom image handler.
- Allows fully custom graphics, command lines, submenu definitions.
- Has fake "fip" and "khwl" drivers, using SDL to emulate the relevant hardware (keys, OSD) on a PC.
- Ported to use the MG-35 osdtest/khwl/fip hardware. Fortunately, this was easy.
- New menu INI file image loader uses image cache for smaller memory footprint.
- Reads all .ini files from /etc/menu.d, starting with main.ini.
Usage
menu
INI files
The menu interface is defined by a group of INI files located under /etc/menu.d. The format of these INI files is as follows:
[sectname] -- Some arbitrary section name. Purely descriptive.
mode=<MODE> -- Composite or Flat mode
composite: Use the standard menu item{hi,lo,off} background
with image{hi,lo,off} composited on top
flat : Just use the image{hi,lo,off} image.
menu=<MENU> -- Containing menu name
main : top level menu
anything else is the name of a submenu
order=<N> -- What item # in the given menu
imagehi=<PNG> -- Selected menu item image (active menu)
imagelo=<PNG> -- Selected menu item image (inactive menu)
imageoff=<PNG> -- Unselected menu item image
cmd=<CMD> -- Command line to execute the item
submenu=<MENU> -- Submenu to display upon selection
A special file, main.ini, contains the main menu definition:
[Main]
header=<IMG> -- Main menu header
imagehi=<IMG> -- Selected button background (active menu)
imagelo=<IMG> -- Selected button background (inactive menu)
imageoff=<IMG> -- Unselected button background
submenu=main -- Defines the main menu
Screenshots
Downloads
History
Version 1.0 - [John, 2008-03]
Comments (0)
You don't have permission to comment on this page.