Skip to content

Commit e16da6d

Browse files
committed
Format changes.
1 parent 452e863 commit e16da6d

File tree

1 file changed

+40
-24
lines changed

1 file changed

+40
-24
lines changed

src/main/java/workspace/laf/LookAndFeel.java

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,48 @@
44

55
public class LookAndFeel {
66

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+
}
1519

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+
}
2125

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+
}
2840

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+
}
3450

3551
}

0 commit comments

Comments
 (0)