VideoTools/scripts/git_converter/lt_convert_gui.go
Jake P 799102cac7 Attempted to create GUI
Attempted to create GUIs for both lt-convert and lt-gui
2025-12-17 22:50:59 +00:00

38 lines
780 B
Go

package main
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/widget"
)
func main() {
a := app.New()
w := a.NewWindow("LT-Convert GUI")
w.Resize(fyne.NewSize(900, 700))
// Title section
title := widget.NewLabelWithStyle("LT-CONVERT", fyne.TextStyle{Bold: true})
// Simple button layout that works
content := container.NewVBox(
title,
widget.NewSeparator(),
widget.NewLabel("VideoTools Style Interface v1.0"),
widget.NewSeparator(),
widget.NewLabel("Ready for bash conversion"),
widget.NewSeparator(),
widget.NewButton("🚀 LAUNCH BASH", func() {
// Close GUI and run bash version
w.Close()
}),
widget.NewButton("❌ QUIT", func() {
a.Quit()
}),
)
w.SetContent(content)
w.ShowAndRun()
}