mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-12-02 03:45:25 +03:00
theme: The very start of actually using defined constants for themes
This commit is contained in:
1 file changed
+7
@@ -123,6 +123,13 @@ elif sys.platform == 'linux':
|
||||
|
||||
class _Theme(object):
|
||||
|
||||
# Enum ? Remember these are, probably, based on 'value' of a tk
|
||||
# RadioButton set. Looking in prefs.py, they *appear* to be hard-coded
|
||||
# there as well.
|
||||
THEME_DEFAULT = 0
|
||||
THEME_DARK = 1
|
||||
THEME_TRANSPARENT = 2
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.active = None # Starts out with no theme
|
||||
self.minwidth: Optional[int] = None
|
||||
|
||||
Reference in new issue
Block a user