UPDATE: Backgroud setting, Remake ui/ux

This commit is contained in:
2025-10-19 23:37:04 +07:00
parent 09434fcc5b
commit 787962c6d0
38 changed files with 426 additions and 94 deletions

View File

@@ -26,7 +26,7 @@ func (a *AppService) CloseApp() (bool, string) {
return true, ""
}
func (a *AppService) MinimizeApp() (bool, string) {
func (a *AppService) HideApp() (bool, string) {
window := application.Get().Window.Current()
if window == nil {
return false, "not found window"
@@ -35,3 +35,30 @@ func (a *AppService) MinimizeApp() (bool, string) {
return true, ""
}
func (a *AppService) MinimizeApp() (bool, string) {
window := application.Get().Window.Current()
if window == nil {
return false, "not found window"
}
window.Minimise()
return true, ""
}
func (a *AppService) MaximizeApp() (bool, string) {
window := application.Get().Window.Current()
if window == nil {
return false, "not found window"
}
window.Maximise()
return true, ""
}
func (a *AppService) RestoreApp() (bool, string) {
window := application.Get().Window.Current()
if window == nil {
return false, "not found window"
}
window.Restore()
return true, ""
}