no message

This commit is contained in:
2024-10-14 18:41:02 +03:00
parent 702529147d
commit 45447f34f8
54 changed files with 200 additions and 100 deletions

View File

@@ -1,4 +1,5 @@
package Common.Visual.Controls;
import Common.MainModule_;
import Common.Visual.Fonts.VisualiserFonts;
import Common.Visual.Themes.ThemeElement;
import Common.Visual.UI_;
@@ -6,12 +7,12 @@ import Common.Visual.UI_;
import javax.swing.*;
public class StyledList extends JList implements ThemeElement {
public StyledList() {
setFont(UI_.getTheme().Fonts.get(VisualiserFonts.TreePlain));
setFont(MainModule_.instance.getUI().getTheme().Fonts.get(VisualiserFonts.TreePlain));
applyTheme();
}
@Override
public void applyTheme() {
setBackground(UI_.getTheme().table_background);
setForeground(UI_.getTheme().foreground);
setBackground(MainModule_.instance.getUI().getTheme().table_background);
setForeground(MainModule_.instance.getUI().getTheme().foreground);
}
}