blob: b925e090da36627e99cc1c506d4f5637e61acca1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package main
import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/theme"
"git.veresov.xyz/aversey/cirsim/cirsim_fyne"
)
func main() {
a := app.New()
a.Settings().SetTheme(theme.LightTheme())
w := a.NewWindow("Circuit Simulator")
w.Resize(fyne.NewSize(1280, 720))
w.SetIcon(theme.SettingsIcon())
w.SetContent(cirsim_fyne.New())
w.ShowAndRun()
}
|