mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
feat: no gui mode color tweaks
This commit is contained in:
parent
4ae620eece
commit
bbd7c9d4d5
@ -289,17 +289,16 @@ def main():
|
|||||||
while True:
|
while True:
|
||||||
|
|
||||||
if config.settings.gui_disable_gui:
|
if config.settings.gui_disable_gui:
|
||||||
print('ee')
|
|
||||||
layoutg = [
|
layoutg = [
|
||||||
[sg.Button('Enable GUI')]
|
[sg.Text("GUI Disabled!", background_color="#242224")],
|
||||||
|
[sg.Button('Enable GUI', button_color="#6f4ca1")]
|
||||||
]
|
]
|
||||||
|
|
||||||
# Create the window
|
# Create the window
|
||||||
windowg = sg.Window('Simple Window', layoutg)
|
windowg = sg.Window('No GUI', layoutg, background_color="#242224")
|
||||||
|
|
||||||
# Event loop
|
# Event loop
|
||||||
while True:
|
while True:
|
||||||
|
|
||||||
eventg, valuesg = windowg.read()
|
eventg, valuesg = windowg.read()
|
||||||
|
|
||||||
if eventg == sg.WINDOW_CLOSED:
|
if eventg == sg.WINDOW_CLOSED:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user