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

@@ -7,7 +7,6 @@ import (
"fyne.io/fyne/v2/lang"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/widget"
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application"
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application/convertor"
)
@@ -21,7 +20,7 @@ type layout struct {
rContainer RightMainContainerContract
}
func NewLayout(progressBarService application.ProgressBarContract, itemsToConvert convertor.ItemsToConvertContract, queueLayout QueueLayoutContract) LayoutContract {
func NewLayout(progressBarService convertor.ProgressBarContract, itemsToConvert convertor.ItemsToConvertContract, queueLayout QueueLayoutContract) LayoutContract {
rContainer := newRightContainer(progressBarService.GetContainer(), itemsToConvert, queueLayout)
layoutContainer := container.NewAdaptiveGrid(2, widget.NewLabel(""), rContainer.GetCanvasObject())