Jeff Carr
761250d24c
more sendAction() cleanups
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-05-09 18:53:31 -05:00
Jeff Carr
d9f9b3c688
simplify sendAction()
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-05-09 18:50:16 -05:00
Jeff Carr
67ee1513bf
andlabs: QueueMain() on add() + delay is _very_ stable
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-23 14:35:32 -05:00
Jeff Carr
d28f0eb8c1
Squashed commit of the following:
...
all non binary tree structs are gone (almost all)
Use names from https://en.wikipedia.org/wiki/Graphical_widget
toolkit andlabs/ui is isolated from being accessable
all direct references to andlabs are removed
working dropdown widgets
add debugging more buttons and windows
2022-10-20 06:55:42 -05:00
Jeff Carr
6286635049
Refactor to 'gui/toolkit/'
...
* add a example cmds/consolemouse
uses a console button to launch the andlabs/ui
* fix wrong return value in toolkit/NewLabel()
* redirect STDIN output to a file
* wonderful fix of Window() exit
* finally remove the ancient stupid variables x & y
* phase out struct 'box' and use 'node' instead
* better names for things: use NewFoo() and NewBar()
2022-10-19 13:23:22 -05:00
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
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
390556e083
Change Node to Box
2022-10-11 11:25:46 -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
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
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
e74b054beb
BOX: remove GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 19:52:18 -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
ccb91460ca
BUG: fix potential 'nil' reference
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 10:23:27 -05:00
Jeff Carr
17512c10c5
ready to implement Destroy()
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 14:17:05 -07:00
Jeff Carr
be59e770b1
never change the ui.Tab Margined() values
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-04 14:09:17 -07:00
Jeff Carr
2ce5732053
remove an unused function
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-03 04:55:13 -07:00
Jeff Carr
1e28641cde
more button cleanups
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-03 00:50:05 -07:00
Jeff Carr
b0d0c09c21
start using X & Y axis vars
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-03 00:20:28 -07:00
Jeff Carr
f79fe8be57
remove one of the last duplicate code functions
...
this is almost complete 'clean'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 19:54:46 -07:00
Jeff Carr
5536e659ae
see if an interface can store the outside values
...
also finally fixed the splash area logic
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 19:49:17 -07:00
Jeff Carr
1274211f20
almost complete 'CLEAN'. yet more code refactoring
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 15:19:53 -07:00
Jeff Carr
3a204732cd
remove more duplicate code
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 12:38:29 -07:00
Jeff Carr
898b9e27c4
more code cleanup
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 12:14:20 -07:00
Jeff Carr
f12d4b5c32
cleanups
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 12:08:53 -07:00
Jeff Carr
43dbe18798
more removals and cleanups
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 11:40:44 -07:00
Jeff Carr
b57b12549e
doesn't crash
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 11:02:14 -07:00