Jeff Carr
a482e34efa
purge lots of old code
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 23:19:28 -05:00
Jeff Carr
e823dd78de
GROUP: implement 'group' in toolkit/
...
move gui.group into toolkit
remove duplicate code
update demo
2022-10-17 22:39:03 -05:00
Jeff Carr
25a6d6a346
TITLE: set the window title
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 19:57:16 -05:00
Jeff Carr
dbbffdffa3
remove old code
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 16:55:30 -05:00
Jeff Carr
f079de80b6
DEMO: change the toolkit demo to not use 'tabs'
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 15:02:13 -05:00
Jeff Carr
2c8031b849
DEMO: work on a toolkit demo
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 12:12:58 -05:00
Jeff Carr
412b287403
DEMO: add andlabs/ui demo window
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 11:56:43 -05:00
Jeff Carr
12d232ba62
start moving tab handling into toolkit/
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-17 00:38:27 -05:00
Jeff Carr
e3b2e5fcc4
add a GO Language Debugging Window
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-16 23:42:21 -05:00
Jeff Carr
a03d2f7c97
fix andlabs.ui.NewLabel()
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-16 10:09:16 -05:00
Jeff Carr
fbf97443d5
Add slander and spinbox in toolkit/andlabs
...
fix the helloworld demo
move slider into toolkit/
move more into the toolkit directory
add spinbox()
fix example
minor update
fix examples
Fix andlabs.ui.Slider() to work again
correctly implement custom OnChange() callback
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-16 08:07:13 -05:00
Jeff Carr
9076499b30
Merge branch 'master' into devel
2022-10-11 11:59:42 -05:00
Jeff Carr
23b29405fe
Merge branch 'jcarr'
2022-10-11 11:58:59 -05:00
Jeff Carr
8cbfe29a86
Merge branch 'master' of git.wit.org:wit/gui
2022-10-11 11:51:17 -05:00
Jeff Carr
adb7d849f6
build without go.mod file
2022-10-11 11:51:02 -05:00
Jeff Carr
4ffea70d84
Merge branch 'refactor'
2022-10-11 11:42:17 -05:00
Jeff Carr
390556e083
Change Node to Box
2022-10-11 11:25:46 -05:00
Jeff Carr
f68428d13b
Try renaming 'Node' to 'Box'
2022-10-08 23:51:48 -05:00
Jeff Carr
917527d4dc
Merge branch 'master' into jcarr
2022-10-08 23:22:47 -05:00
Jeff Carr
54a402449f
use the old way to ignore go.mod?
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-08 19:31:35 -05:00
Jeff Carr
0e69bcd67a
BUILD: builds again with go 1.19 on sid as of today
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-08 17:33:12 -05:00
Jeff Carr
cc676d14ec
NOTE: minor
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 08:45:20 -05:00
Jeff Carr
c91d7d52b8
SMALL: some stuff hanging around
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 05:46:49 -05:00
Jeff Carr
12cc3882f5
GOOD: font button shows up again (doesn't do anything)
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 03:25:42 -05:00
Jeff Carr
f615feaf81
GOOD: read text from multi-line entrybox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 02:48:41 -05:00
Jeff Carr
2af6db4d6c
GOOD: use global 'Stretchy' setting
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 02:23:41 -05:00
Jeff Carr
50a33262c1
GOOD: add Node.SetMargined()
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 01:12:42 -05:00
Jeff Carr
20899fc2b4
PANIC: remove almost all panic()s
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 00:12:48 -05:00
Jeff Carr
1b8b31a123
EDITBOX: pull in a edit box example
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-03 23:25:57 -05:00
Jeff Carr
8d5b885b3a
GUI: show error windows
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-03 22:41:22 -05:00
Jeff Carr
9c946630a1
WINDOW: try to properly destroy a window
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-03 01:44:32 -05:00
Jeff Carr
9960652ec7
TABS: very reliable tab, window and node handling
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 03:44:39 -05:00
Jeff Carr
934470d1a9
CODE: old code
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 02:15:38 -05:00
Jeff Carr
f92435a726
BREAK: add vertical and horizontal breaks
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 01:26:31 -05:00
Jeff Carr
91e4ad1351
CLEAN: remove more cruft
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 01:13:07 -05:00
Jeff Carr
898874b0e9
CLEAN: out of the rabbit hole
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 00:24:56 -05:00
Jeff Carr
8c1c837879
CLEAN: remove GuiButton struct
2021-10-31 23:48:34 -05:00
Jeff Carr
51d324e805
CLEAN: more code removals
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 22:22:16 -05:00
Jeff Carr
db6c60decc
REFACTOR: remove GuiWindow & GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 21:46:30 -05:00
Jeff Carr
d6980daa81
BOX: kill GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 21:07:36 -05:00
Jeff Carr
df1978e6a8
BOX: more removals of GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:52:19 -05:00
Jeff Carr
bd37df3820
BOX: keep removing GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:36:05 -05:00
Jeff Carr
ad3a955750
BOX: remove GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:22:36 -05:00
Jeff Carr
f9c6083be4
BOX: keep removing GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:07:26 -05:00
Jeff Carr
e74b054beb
BOX: remove GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 19:52:18 -05:00
Jeff Carr
b90d7b96c3
BOX: start removing GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 19:39:57 -05:00
Jeff Carr
e7bcb14d6c
TEXT: fix OnChanged() handling
2021-10-31 15:46:31 -05:00
Jeff Carr
f7ead697d3
REFACTOR: refactor everything to gui.Node struct
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 14:21:36 -05:00
Jeff Carr
f8766de9a0
NODE: resurrect 'ssh' window
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 12:57:54 -05:00
Jeff Carr
f72c88dafe
NODE: walking
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 12:20:20 -05:00