Changes

1,153 bytes added ,  21:39, 13 September 2018
Added theme docs, sample theme is from the hbmenu PR with formatting adjustments.
Line 16: Line 16:     
With netloader activated as described above you can load apps over the network with nxlink. With the [[Setting_up_Development_Environment|toolchain]] setup run <code>nxlink <nrofile></code> if your network can handle UDP broadcast messages. If nxlink fails with "No response from Switch!" you can use <code>-a <ip address></code> before <code><nrofile></code> for the address to send the app to. See nxlink help for more options.
 
With netloader activated as described above you can load apps over the network with nxlink. With the [[Setting_up_Development_Environment|toolchain]] setup run <code>nxlink <nrofile></code> if your network can handle UDP broadcast messages. If nxlink fails with "No response from Switch!" you can use <code>-a <ip address></code> before <code><nrofile></code> for the address to send the app to. See nxlink help for more options.
 +
 +
= Themes =
 +
NOTE: This is not yet available with the latest hbmenu release.
 +
 +
A theme can be optionally loaded from SD "/config/nx-hbmenu/themes/theme.cfg". This uses [https://hyperrealm.github.io/libconfig/libconfig_manual.html libconfig]. Default settings will be used for any settings not specified in the theme.
 +
 +
The string used for displaying the A/B button can be set with buttonAText/buttonBText, but normally this can be left at the defaults. Remove/comment the sample enableWaveBlending line to enable wave blending.
 +
 +
Sample theme file:
 +
 +
lightTheme={
 +
    textColor=(0,0,0,255);
 +
    frontWaveColor=(255,102,204,255);
 +
    middleWaveColor=(255,51,153,255);
 +
    backWaveColor=(204,0,153,255);
 +
    backgroundColor=(233,236,241,255);
 +
    highlightColor=(255,77,166,255);
 +
    separatorColor=(128,0,128,255);
 +
    enableWaveBlending=0;
 +
};
 +
 +
darkTheme={
 +
    textColor=(255,255,255,255);
 +
    frontWaveColor=(255,51,153,255);
 +
    middleWaveColor=(255,102,204,255);
 +
    backWaveColor=(204,0,153,255);
 +
    backgroundColor=(0,0,0,255);
 +
    highlightColor=(255,77,166,255);
 +
    separatorColor=(255,255,255,255);
 +
    enableWaveBlending=0;
 +
};