2024-07-24 10:12:47 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fyne.io/fyne/v2"
|
|
|
|
"fyne.io/fyne/v2/app"
|
2024-08-02 15:18:11 +08:00
|
|
|
"github.com/lion187chen/gTaskMg"
|
2024-07-24 10:12:47 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
type MGCore struct {
|
2024-08-02 15:18:11 +08:00
|
|
|
*gTaskMg.GManager
|
2024-07-24 10:12:47 +08:00
|
|
|
*Loger
|
|
|
|
|
|
|
|
fyne.App
|
|
|
|
MainWin fyne.Window
|
|
|
|
}
|
|
|
|
|
|
|
|
var Core MGCore
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
Core.App = app.New()
|
|
|
|
Core.MainWin = Core.App.NewWindow("Black Forest")
|
|
|
|
Core.MainWin.Resize(fyne.NewSize(800, 600))
|
|
|
|
|
|
|
|
Core.MainWin.ShowAndRun()
|
|
|
|
}
|