feat(ui): frameless modern window frame with dark titlebar controls and sleek dark scrollbars
Build Windows Installer / build (push) Successful in 18m51s

This commit is contained in:
m4xx1m committed 2026-11-12 20:40:36 +03:00
1 parent 375cff78cb
commit 99d8e97f83
5 files changed
+197 -6

No files matched your search

+25
View File
@@ -288,3 +288,28 @@ func (a *App) OpenOutputFile(path string) error {
}
return exec.Command("xdg-open", path).Start()
}
func (a *App) WindowMinimise() {
if a.ctx != nil {
runtime.WindowMinimise(a.ctx)
}
}
func (a *App) WindowToggleMaximise() {
if a.ctx != nil {
runtime.WindowToggleMaximise(a.ctx)
}
}
func (a *App) WindowClose() {
if a.ctx != nil {
runtime.Quit(a.ctx)
}
}
func (a *App) WindowIsMaximised() bool {
if a.ctx != nil {
return runtime.WindowIsMaximised(a.ctx)
}
return false
}