@@ -26,6 +26,7 @@ public class Example implements Consumer<Event> {
2626 public PanelMouseCursors panelMouseCursors ;
2727 public PanelRendering panelRendering ;
2828 public PanelEvents panelEvents ;
29+ public PanelTheme panelTheme ;
2930
3031 public Window window ;
3132
@@ -44,6 +45,7 @@ public Example() {
4445 panelMouseCursors = new PanelMouseCursors (window );
4546 panelRendering = new PanelRendering (window );
4647 panelEvents = new PanelEvents (window );
48+ panelTheme = new PanelTheme (window );
4749
4850 var scale = window .getScreen ().getScale ();
4951 int count = App ._windows .size () - 1 ;
@@ -112,7 +114,8 @@ public void paint(String reason) {
112114 panelRendering .paint (canvas , PADDING + (panelWidth + PADDING ) * 2 , PADDING + (panelHeight + PADDING ) * 1 , panelWidth , panelHeight , scale );
113115
114116 // 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 );
116119
117120 // Colored bars
118121 try (var paint = new Paint ()) {
0 commit comments