Making a Recalbox theme

45 pages · 8 sections
FRENESDE Show everything Create my theme

The menu view — the menus

What a theme can, and cannot, change about the menus.

Recalbox builds its menus itself: their content, their order and their labels are not yours.

What the theme provides are styles — and a single measurement.

<view name="menu">
  <menuBackground>
    <color>101820F0</color>
    <path>${root}/data/arts/cadre.png</path>
  </menuBackground>

  <menuText>
    <fontPath>${root}/data/fonts/Exo2.otf</fontPath>
    <fontSize>0.038</fontSize>
    <color>C6CBD8</color>
    <selectedColor>101820</selectedColor>
    <selectorColor>4FE3C1</selectorColor>
    <separatorColor>FFFFFF20</separatorColor>
  </menuText>

  <menuSize><height>0.85</height></menuSize>
</view>

The nine available components are described in Menu styling.

What you cannot do

What to keep in mind

The menus display on top of the current view. The veil (fadePath of menuBackground) darkens what is behind: without it, a menu with a transparent background becomes unreadable on a light theme.