Make a choice of the encoder in the form

Made a choice of the encoder by categories: video, audio and photo.
This commit is contained in:
2025-06-08 17:26:49 +05:00
parent 9cdfa18fc8
commit 9bb835beaf
7 changed files with 322 additions and 23 deletions

View File

@@ -3,7 +3,6 @@ package window
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/dialog"
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application"
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application/convertor"
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/utils"
)
@@ -22,13 +21,13 @@ type mainWindow struct {
fyneWindow fyne.Window
layout LayoutContract
itemsToConvert convertor.ItemsToConvertContract
progressBarService application.ProgressBarContract
progressBarService convertor.ProgressBarContract
queueLayout QueueLayoutContract
}
func NewMainWindow(
fyneWindow fyne.Window,
progressBarService application.ProgressBarContract,
progressBarService convertor.ProgressBarContract,
itemsToConvert convertor.ItemsToConvertContract,
queueLayout QueueLayoutContract,
) WindowContract {