diff options
| author | 2017-06-07 15:42:45 +0100 | |
|---|---|---|
| committer | 2018-11-28 09:53:27 +0100 | |
| commit | ef3532566332d96914a44641b22f0cb628a8e109 (patch) | |
| tree | ac61d756124a9ee47344380135d2eb9145ebc6d7 /src/main/java/cuchaz/enigma/config/Config.java | |
| parent | fix #68 (diff) | |
| download | enigma-fork-ef3532566332d96914a44641b22f0cb628a8e109.tar.gz enigma-fork-ef3532566332d96914a44641b22f0cb628a8e109.tar.xz enigma-fork-ef3532566332d96914a44641b22f0cb628a8e109.zip | |
Add dark LAF
Diffstat (limited to 'src/main/java/cuchaz/enigma/config/Config.java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/config/Config.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/cuchaz/enigma/config/Config.java b/src/main/java/cuchaz/enigma/config/Config.java index 75ced70..4441468 100644 --- a/src/main/java/cuchaz/enigma/config/Config.java +++ b/src/main/java/cuchaz/enigma/config/Config.java | |||
| @@ -40,7 +40,8 @@ public class Config { | |||
| 40 | public Integer identifierColor; | 40 | public Integer identifierColor; |
| 41 | public Integer defaultTextColor; | 41 | public Integer defaultTextColor; |
| 42 | 42 | ||
| 43 | public boolean useSystemLAF = true; | 43 | public boolean useSystemLAF; |
| 44 | public boolean useDraculaLAF; | ||
| 44 | 45 | ||
| 45 | private Config() { | 46 | private Config() { |
| 46 | gson = new GsonBuilder() | 47 | gson = new GsonBuilder() |
| @@ -95,6 +96,7 @@ public class Config { | |||
| 95 | this.identifierColor = 0x000000; | 96 | this.identifierColor = 0x000000; |
| 96 | this.defaultTextColor = 0x000000; | 97 | this.defaultTextColor = 0x000000; |
| 97 | this.useSystemLAF = true; | 98 | this.useSystemLAF = true; |
| 99 | this.useDraculaLAF = false; | ||
| 98 | this.saveConfig(); | 100 | this.saveConfig(); |
| 99 | } | 101 | } |
| 100 | 102 | ||
| @@ -113,4 +115,4 @@ public class Config { | |||
| 113 | public static Config getInstance() { | 115 | public static Config getInstance() { |
| 114 | return INSTANCE; | 116 | return INSTANCE; |
| 115 | } | 117 | } |
| 116 | } \ No newline at end of file | 118 | } |