|
4 | 4 |
|
5 | 5 | public class LookAndFeel { |
6 | 6 |
|
7 | | - public static void setup() { |
8 | | - setupGizmo(); |
9 | | - setupAxis(); |
10 | | - setupMenu(); |
11 | | - UiValues.put(UiConstants.KEY_EDITOR_BACKGROUND_COLOR, new Color(60, 60, 60)); |
12 | | - UiValues.put(UiConstants.KEY_GRID_COLOR, new Color(74, 74, 74)); |
13 | | - UiValues.put(UiConstants.KEY_EDITOR_WIREFRAME_COLOR, new Color(241, 152, 45)); |
14 | | - } |
| 7 | + public static void setup() { |
| 8 | + setupGizmo(); |
| 9 | + setupAxis(); |
| 10 | + setupMenu(); |
| 11 | + UiValues.put( |
| 12 | + UiConstants.KEY_EDITOR_BACKGROUND_COLOR, new Color(60, 60, 60) |
| 13 | + ); |
| 14 | + UiValues.put(UiConstants.KEY_GRID_COLOR, new Color(74, 74, 74)); |
| 15 | + UiValues.put( |
| 16 | + UiConstants.KEY_EDITOR_WIREFRAME_COLOR, new Color(241, 152, 45) |
| 17 | + ); |
| 18 | + } |
15 | 19 |
|
16 | | - private static void setupAxis() { |
17 | | - UiValues.put(UiConstants.KEY_AXIS_X_COLOR, new Color(157, 67, 80)); |
18 | | - UiValues.put(UiConstants.KEY_AXIS_Y_COLOR, new Color(109, 148, 46)); |
19 | | - UiValues.put(UiConstants.KEY_AXIS_Z_COLOR, new Color(63, 112, 162)); |
20 | | - } |
| 20 | + private static void setupAxis() { |
| 21 | + UiValues.put(UiConstants.KEY_AXIS_X_COLOR, new Color(157, 67, 80)); |
| 22 | + UiValues.put(UiConstants.KEY_AXIS_Y_COLOR, new Color(109, 148, 46)); |
| 23 | + UiValues.put(UiConstants.KEY_AXIS_Z_COLOR, new Color(63, 112, 162)); |
| 24 | + } |
21 | 25 |
|
22 | | - private static void setupGizmo() { |
23 | | - UiValues.put(UiConstants.KEY_GIZMO_AXIS_X_COLOR, new Color(221, 56, 79)); |
24 | | - UiValues.put(UiConstants.KEY_GIZMO_AXIS_Y_COLOR, new Color(120, 181, 22)); |
25 | | - UiValues.put(UiConstants.KEY_GIZMO_AXIS_Z_COLOR, new Color(44, 142, 252)); |
26 | | - UiValues.put(UiConstants.KEY_GIZMO_CENTER_COLOR, new Color(200, 200, 200)); |
27 | | - } |
| 26 | + private static void setupGizmo() { |
| 27 | + UiValues.put( |
| 28 | + UiConstants.KEY_GIZMO_AXIS_X_COLOR, new Color(221, 56, 79) |
| 29 | + ); |
| 30 | + UiValues.put( |
| 31 | + UiConstants.KEY_GIZMO_AXIS_Y_COLOR, new Color(120, 181, 22) |
| 32 | + ); |
| 33 | + UiValues.put( |
| 34 | + UiConstants.KEY_GIZMO_AXIS_Z_COLOR, new Color(44, 142, 252) |
| 35 | + ); |
| 36 | + UiValues.put( |
| 37 | + UiConstants.KEY_GIZMO_CENTER_COLOR, new Color(200, 200, 200) |
| 38 | + ); |
| 39 | + } |
28 | 40 |
|
29 | | - private static void setupMenu() { |
30 | | - UiValues.put(UiConstants.KEY_MENU_FOREGROUND_COLOR, new Color(151, 151, 151)); |
31 | | - UiValues.put(UiConstants.KEY_MENU_BACKGROUND_COLOR, new Color(35, 35, 35)); |
32 | | - UiValues.put(UiConstants.KEY_MENU_TEXT_SIZE, 12); |
33 | | - } |
| 41 | + private static void setupMenu() { |
| 42 | + UiValues.put( |
| 43 | + UiConstants.KEY_MENU_FOREGROUND_COLOR, new Color(151, 151, 151) |
| 44 | + ); |
| 45 | + UiValues.put( |
| 46 | + UiConstants.KEY_MENU_BACKGROUND_COLOR, new Color(35, 35, 35) |
| 47 | + ); |
| 48 | + UiValues.put(UiConstants.KEY_MENU_TEXT_SIZE, 12); |
| 49 | + } |
34 | 50 |
|
35 | 51 | } |
0 commit comments