mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 03:55:19 -04:00
Make default background of launcher a bit cheerier.
This commit is contained in:
parent
2adff37838
commit
8864c40a98
@ -6,16 +6,14 @@ namespace Launcher2 {
|
|||||||
|
|
||||||
public static class LauncherSkin {
|
public static class LauncherSkin {
|
||||||
|
|
||||||
public static FastColour BackgroundCol = new FastColour( 127, 107, 140 );
|
public static FastColour BackgroundCol = new FastColour( 151, 122, 172 );
|
||||||
//new FastColour( 104, 87, 119 );
|
|
||||||
|
|
||||||
public static FastColour ButtonBorderCol = new FastColour( 97, 81, 110 );
|
public static FastColour ButtonBorderCol = new FastColour( 97, 81, 110 );
|
||||||
public static FastColour ButtonForeActiveCol = new FastColour( 189, 168, 206 );
|
public static FastColour ButtonForeActiveCol = new FastColour( 189, 168, 206 );
|
||||||
public static FastColour ButtonForeCol = new FastColour( 164, 138, 186 );
|
public static FastColour ButtonForeCol = new FastColour( 164, 138, 186 );
|
||||||
public static FastColour ButtonHighlightCol = new FastColour( 182, 158, 201 );
|
public static FastColour ButtonHighlightCol = new FastColour( 182, 158, 201 );
|
||||||
|
|
||||||
public static void ResetToDefault() {
|
public static void ResetToDefault() {
|
||||||
BackgroundCol = new FastColour( 127, 107, 140 );
|
BackgroundCol = new FastColour( 151, 122, 172 );
|
||||||
ButtonBorderCol = new FastColour( 97, 81, 110 );
|
ButtonBorderCol = new FastColour( 97, 81, 110 );
|
||||||
ButtonForeActiveCol = new FastColour( 189, 168, 206 );
|
ButtonForeActiveCol = new FastColour( 189, 168, 206 );
|
||||||
ButtonForeCol = new FastColour( 164, 138, 186 );
|
ButtonForeCol = new FastColour( 164, 138, 186 );
|
||||||
@ -23,19 +21,19 @@ namespace Launcher2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void LoadFromOptions() {
|
public static void LoadFromOptions() {
|
||||||
Get( "launcher-backcol", ref BackgroundCol );
|
Get( "launcher-back-col", ref BackgroundCol );
|
||||||
Get( "launcher-button-backcol", ref ButtonBorderCol );
|
Get( "launcher-button-border-col", ref ButtonBorderCol );
|
||||||
Get( "launcher-button-foreactivecol", ref ButtonForeActiveCol );
|
Get( "launcher-button-fore-active-col", ref ButtonForeActiveCol );
|
||||||
Get( "launcher-button-forecol", ref ButtonForeCol );
|
Get( "launcher-button-fore-col", ref ButtonForeCol );
|
||||||
Get( "launcher-button-highlightcol", ref ButtonHighlightCol );
|
Get( "launcher-button-highlight-col", ref ButtonHighlightCol );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void SaveToOptions() {
|
public static void SaveToOptions() {
|
||||||
Options.Set( "launcher-backcol", BackgroundCol.ToRGBHexString() );
|
Options.Set( "launcher-back-col", BackgroundCol.ToRGBHexString() );
|
||||||
Options.Set( "launcher-button-backcol", ButtonBorderCol.ToRGBHexString() );
|
Options.Set( "launcher-button-border-col", ButtonBorderCol.ToRGBHexString() );
|
||||||
Options.Set( "launcher-button-foreactivecol", ButtonForeActiveCol.ToRGBHexString() );
|
Options.Set( "launcher-button-fore-active-col", ButtonForeActiveCol.ToRGBHexString() );
|
||||||
Options.Set( "launcher-button-forecol", ButtonForeCol.ToRGBHexString() );
|
Options.Set( "launcher-button-fore-col", ButtonForeCol.ToRGBHexString() );
|
||||||
Options.Set( "launcher-button-highlightcol", ButtonHighlightCol.ToRGBHexString() );
|
Options.Set( "launcher-button-highlight-col", ButtonHighlightCol.ToRGBHexString() );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Get( string key, ref FastColour col ) {
|
static void Get( string key, ref FastColour col ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user