mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-20 14:39:58 -04:00
Add a Custom colour scheme with a colour square and a hex code, start the player's background picture below the title band, and shorten the Add to Steam description.
Custom is the last scheme in Customize Launcher. Its Background Color and Button Color rows open a picker in the description box's place: a square of the hue's colours (saturation across, brightness up and down) with a hue bar under it to click or drag on, Hue, Saturation and Brightness rows for the arrows and the gamepad, and a Hex Code row to type a code into. Each picked colour takes the place of one colour of the first scheme, the backdrop's middle tint or the buttons' wood, and the rest of its group follows it, lighter and darker as in the first scheme; light buttons get dark text. The colours are kept as custom_background and custom_buttons in launcher.json. The background picture used to fill the whole window, so its top was hidden under the title band. It now fills the window from where the band ends, cut to that shape around its middle and scaled evenly. A copy an older launcher kept for the whole window is cut, never squeezed, and made again from the picture file while it is there. Add to Steam's description and result are now one plain sentence each. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,8 @@ DEFAULTS = {
|
||||
'save_export_dir': '', # where Saves > Export Save writes its zip; empty: the Downloads folder
|
||||
'export_with_log': True, # Export Save adds the game's latest log and nx2navi.ini (for a bug report)
|
||||
'theme': 'forest', # the colour scheme (launcher/ui/art.py THEMES)
|
||||
'custom_background': '', # the Custom scheme's backdrop colour, #rrggbb; empty: the first scheme's
|
||||
'custom_buttons': '', # the Custom scheme's colour of the buttons, panels and title band
|
||||
'background': '', # the picture the player chose as the background; its fitted copy is data/background.npy
|
||||
'background_dim': 40, # how much that picture is darkened, in percent
|
||||
'animations': True, # the cursor glides, screens slide in, sparks drift, Navi bobs
|
||||
|
||||
Reference in New Issue
Block a user