mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 15:57:14 +03:00
theme: The very start of actually using defined constants for themes
This commit is contained in:
parent
4cea8fa34f
commit
e4055530b4
7
theme.py
7
theme.py
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user