Making a Recalbox theme

49 pages · 8 sections
⌕
FRENESDE Show everything Create my theme

Menu styling

The nine components that adjust Recalbox's menus.

Recalbox builds its menus itself: their content is not yours. The theme only adjusts their look, through nine components that are not placed.

⚠️ Each one carries an imposed name, and it is mandatory. A component without a name is rejected: the line goes to themes.log and the styling is not applied. The names are not those of the tags:

Tagname to write
menuSizemenuSize — the only one with a capital
menuBackgroundmenubg
menuTextmenutitle, menufooter, menutext — three distinct components
menuTextSmallmenutextsmall
menuSectionmenusection
menuButtonmenubutton
menuSwitchmenuswitch
menuSlidermenuslider
menuIconsmenuicons
<menuBackground name="menubg">
  <color>101820F0</color>
  <path>${root}/data/arts/cadre-menu.png</path>
  <fadePath>${root}/data/arts/voile.png</fadePath>
</menuBackground>
PropertyRole
colorthe frame's color — it tints the image if path is given
paththe frame's image
fadePaththe veil image that darkens the view behind

The same tag serves three times, under three names: menutitle the menu title, menutext the lines, menufooter the footer. Each is set separately.

PropertyRole
fontPath fontSizethe font
colorthe lines' text
selectedColorthe chosen line's text
selectorColorthe highlighter
separatorColorthe rules between lines

On menutitle and menufooter, the last three are accepted but have no effect: a title and a footer are not selected.

fontPath, fontSize, color, selectedColor, selectorColor. Used for setting values and drop-down lists.

fontPath, fontSize, color, selectedColor, alignment.

<menuSize name="menuSize"><height>0.85</height></menuSize>

The maximum height of the menu frame, as a screen proportion. It is the only measurement a theme imposes on the menus.

pathOn, pathOff — the two images of a yes/no setting.

path — the cursor's image.

path the button at rest and the frame of list values, filledPath the button you are on — and the frame of the menus’ action buttons, permanently.

One icon per menu section:

iconSystem · iconUpdates · iconThemes · iconGames · iconUI · iconTate · iconControllers · iconSound · iconNetwork · iconScraper · iconBios · iconDownload · iconLicense · iconAdvanced · iconArcade · iconKodi · iconCardReader · iconRecalboxRGBDual · iconQuit · iconRestart · iconShutdown · iconFastShutdown · iconList

⚠️ iconList is singular, unlike the “Lists” section it represents. In the plural, it is ignored.

⚠️ iconArcade is read but never displayed: no section uses it today. Setting it costs nothing, it will not be seen.