summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/spinner.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
committerJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
commit4e7bbd89900a733593f0848778103c1cf1a7145d (patch)
tree22cd22124dd3ecba7c2a866b882d39aaf790d670 /toolkit/andlabs/spinner.go
parent53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff)
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/spinner.go')
-rw-r--r--toolkit/andlabs/spinner.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/toolkit/andlabs/spinner.go b/toolkit/andlabs/spinner.go
deleted file mode 100644
index bab7a29..0000000
--- a/toolkit/andlabs/spinner.go
+++ /dev/null
@@ -1,22 +0,0 @@
-package main
-
-import (
- "github.com/andlabs/ui"
- _ "github.com/andlabs/ui/winmanifest"
-)
-
-func (p *node) newSpinner(n *node) {
- newt := new(guiWidget)
-
- s := ui.NewSpinbox(n.X, n.Y)
- newt.uiSpinbox = s
- newt.uiControl = s
-
- s.OnChanged(func(s *ui.Spinbox) {
- n.I = newt.uiSpinbox.Value()
- n.doUserEvent()
- })
-
- n.tk = newt
- p.place(n)
-}