From da07c82fd99c2b573df60c9ed485174483920e3d Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 17 Dec 2025 02:17:06 -0500 Subject: [PATCH] Add stats bar to filters and upscale views --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index de0fcc4..a82f36a 100644 --- a/main.go +++ b/main.go @@ -10763,6 +10763,7 @@ func buildFiltersView(state *appState) fyne.CanvasObject { // Top bar with module color topBar := ui.TintedBar(filtersColor, container.NewHBox(backBtn, layout.NewSpacer(), queueBtn)) + bottomBar := ui.TintedBar(filtersColor, container.NewHBox(state.statsBar, layout.NewSpacer())) // Instructions instructions := widget.NewLabel("Apply filters and color corrections to your video. Preview changes in real-time.") @@ -10910,7 +10911,7 @@ func buildFiltersView(state *appState) fyne.CanvasObject { content := container.NewPadded(mainContent) - return container.NewBorder(topBar, nil, nil, nil, content) + return container.NewBorder(topBar, bottomBar, nil, nil, content) } // buildUpscaleView creates the Upscale module UI @@ -10932,6 +10933,7 @@ func buildUpscaleView(state *appState) fyne.CanvasObject { // Top bar with module color topBar := ui.TintedBar(upscaleColor, container.NewHBox(backBtn, layout.NewSpacer(), queueBtn)) + bottomBar := ui.TintedBar(upscaleColor, container.NewHBox(state.statsBar, layout.NewSpacer())) // Instructions instructions := widget.NewLabel("Upscale your video to higher resolution using traditional or AI-powered methods.") @@ -11224,7 +11226,7 @@ func buildUpscaleView(state *appState) fyne.CanvasObject { content := container.NewPadded(mainContent) - return container.NewBorder(topBar, nil, nil, nil, content) + return container.NewBorder(topBar, bottomBar, nil, nil, content) } // checkAIUpscaleAvailable checks if Real-ESRGAN is available on the system