Revive the right block of the program

Moved the right part of the program from the old version. Slightly reworked the structure.
This commit is contained in:
2025-06-07 21:27:55 +05:00
parent c60b9f7b0c
commit 57637606c0
7 changed files with 740 additions and 37 deletions

View File

@@ -18,10 +18,12 @@ type controller struct {
func NewController(app application.AppContract) ControllerContract {
fyneWindow := app.FyneApp().NewWindow(app.FyneApp().Metadata().Name)
queueLayout := window.NewQueueLayout()
app.GetQueueService().AddListener(queueLayout)
return &controller{
app: app,
window: window.NewMainWindow(fyneWindow, app.GetProgressBarService()),
window: window.NewMainWindow(fyneWindow, app.GetProgressBarService(), app.GetItemsToConvert(), queueLayout),
}
}