diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2022-04-19 05:25:30 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2022-04-19 05:25:30 +0300 |
commit | c9350c41c38750e2230357f655f6e72035995c34 (patch) | |
tree | a5b09c1d2ae709a95076faa64df63f273269275f /main.go | |
download | cirsim-c9350c41c38750e2230357f655f6e72035995c34.tar cirsim-c9350c41c38750e2230357f655f6e72035995c34.tar.xz cirsim-c9350c41c38750e2230357f655f6e72035995c34.zip |
.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +package main + +import ( + "fyne.io/fyne/v2" + "fyne.io/fyne/v2/app" + "fyne.io/fyne/v2/theme" + "git.veresov.xyz/aversey/cirsim/cirsim" +) + +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.New()) + w.ShowAndRun() +} |