OOPing it more: Removed gui_communication/track_control.py and the complete gui_communication directory.

This commit is contained in:
The Wobbler 2025-01-25 16:02:03 +01:00
parent 07e53ef2e7
commit cd6d37497f
9 changed files with 126 additions and 156 deletions

View file

@ -8,7 +8,6 @@ from .utils import Utils
from .player import Player
from .library.library import Library
from .gui import GUI
from .gui_communication.gui_communication import GUICommunication
class Wobuzz:
@ -23,7 +22,11 @@ class Wobuzz:
self.player = Player(self)
self.library = Library(self)
self.gui = GUI(self)
self.gui_communication = GUICommunication(self)
self.post_init()
def post_init(self):
self.gui.track_control.track_progress_slider.post_init()
def on_settings_change(self, key, value):
self.gui.on_settings_change(key, value)