summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2022-04-19 05:25:30 +0300
committerAleksey Veresov <aleksey@veresov.pro>2022-04-19 05:25:30 +0300
commitc9350c41c38750e2230357f655f6e72035995c34 (patch)
treea5b09c1d2ae709a95076faa64df63f273269275f /main.go
downloadcirsim-c9350c41c38750e2230357f655f6e72035995c34.tar
cirsim-c9350c41c38750e2230357f655f6e72035995c34.tar.xz
cirsim-c9350c41c38750e2230357f655f6e72035995c34.zip
.
Diffstat (limited to 'main.go')
-rw-r--r--main.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..23474fa
--- /dev/null
+++ b/main.go
@@ -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()
+}