Load theme.txt from the user's sketchbook folder. The caller is expected to make sure the file exists.
()
| 107 | * The caller is expected to make sure the file exists. |
| 108 | */ |
| 109 | @SuppressWarnings("BooleanMethodIsAlwaysInverted") |
| 110 | static public boolean loadSketchbookFile() { |
| 111 | File sketchbookTheme = getSketchbookFile(); |
| 112 | if (sketchbookTheme.exists()) { |
| 113 | theme.load(sketchbookTheme); |
| 114 | return true; |
| 115 | } |
| 116 | return false; |
| 117 | } |
| 118 | |
| 119 | |
| 120 | static public void save() { |
no test coverage detected