@@ -26,6 +26,7 @@ public class Example implements Consumer<Event> {
26
26
public PanelMouseCursors panelMouseCursors ;
27
27
public PanelRendering panelRendering ;
28
28
public PanelEvents panelEvents ;
29
+ public PanelTheme panelTheme ;
29
30
30
31
public Window window ;
31
32
@@ -44,6 +45,7 @@ public Example() {
44
45
panelMouseCursors = new PanelMouseCursors (window );
45
46
panelRendering = new PanelRendering (window );
46
47
panelEvents = new PanelEvents (window );
48
+ panelTheme = new PanelTheme (window );
47
49
48
50
var scale = window .getScreen ().getScale ();
49
51
int count = App ._windows .size () - 1 ;
@@ -112,7 +114,8 @@ public void paint(String reason) {
112
114
panelRendering .paint (canvas , PADDING + (panelWidth + PADDING ) * 2 , PADDING + (panelHeight + PADDING ) * 1 , panelWidth , panelHeight , scale );
113
115
114
116
// Third row
115
- panelEvents .paint (canvas , PADDING + (panelWidth + PADDING ) * 0 , PADDING + (panelHeight + PADDING ) * 2 , panelWidth * 3 + PADDING * 2 , panelHeight , scale );
117
+ panelEvents .paint (canvas , PADDING + (panelWidth + PADDING ) * 0 , PADDING + (panelHeight + PADDING ) * 2 , panelWidth * 2 + PADDING , panelHeight , scale );
118
+ panelTheme .paint (canvas , PADDING + (panelWidth + PADDING ) * 2 , PADDING + (panelHeight + PADDING ) * 2 , panelWidth , panelHeight , scale );
116
119
117
120
// Colored bars
118
121
try (var paint = new Paint ()) {
0 commit comments