промежуточный. частичный рефакторинг с прицелом на библиотечную часть

This commit is contained in:
2024-10-07 00:58:29 +03:00
parent c211ffb82b
commit 6b1576461d
798 changed files with 3007 additions and 2344 deletions

View File

@@ -0,0 +1,16 @@
package Common_old.UI.ProgressBar;
import Common_old.Current;
import Common_old.UI.Themes.ThemeElement;
import javax.swing.*;
public class StyledProgressBar extends JProgressBar implements ThemeElement {
public StyledProgressBar() {
setStringPainted(true);
applyTheme();
}
@Override
public void applyTheme() {
setBackground(Current.getTheme().bar_background);
setForeground(Current.getTheme().bar_foreground);
}
}