Jeff Carr
c5735353a6
v0.4.1 set sane toolkit default look and feel
...
autogenerate README.md from doc.go (goreadme cmd)
remove passing arguements on a mouse click()
make defaults for padding, margin, stretchy, etc
add a checkbox widget
function rename to NewButton()
keep cleaning up toolkit code
fix date. I was somehow in the future
Signed-off-by: Jeff Carr <jcarr@wit.com>
2022-10-21 11:40:08 -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
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
c91d7d52b8
SMALL: some stuff hanging around
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-04 05:46:49 -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
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
ad3a955750
BOX: remove GuiBox
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:22:36 -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
2ccc1b518d
REFACTOR: things are back to working as they were
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 14:32:07 -05:00
Jeff Carr
908615c038
TAB: correctly lookup and add tabs to blank windows
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 13:23:00 -05:00
Jeff Carr
b4a11c0aa1
CODE: start a general code refactor
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 08:36:28 -05:00
Jeff Carr
cabdb12495
BUILD: suck it up and try to use go.mod
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 05:14:24 -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
6438e4cc6a
CODE: not sure, but it compiles and runs somehow
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 09:29:55 -05:00
Jeff Carr
6035dc8d79
DEBUG: added button to SetMargin() by name
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 07:13:24 -05:00
Jeff Carr
6f88d8fbf5
DEBUG: gui to debug windows
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 05:52:50 -05:00
Jeff Carr
90d8111ada
TAB: automatically set all tables to SetMargined(true)
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 02:00:32 -05:00
Jeff Carr
e6c44cd2d3
ANALABS: work on improving the abstraction
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 23:38:45 -05:00
Jeff Carr
83c19cb614
TAB: more tab handling cleanups
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 21:54:16 -05:00
Jeff Carr
71a9b13236
TAB: code to more correctly handle gtk tabs
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 21:33:03 -05:00
Jeff Carr
c55a039042
allow a custom Exit()
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-17 08:09:28 -07:00
Jeff Carr
7da54784fb
don't use Data.Windows anymore
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 15:41:30 -07: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
22760127b9
more tests
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 13:28:13 -07:00
Jeff Carr
8ad635c307
finally vm list working again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 12:08:47 -07:00
Jeff Carr
999a8fd199
reimplement the color button
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-05 10:01:36 -07:00
Jeff Carr
d86d25390d
finally fix the window and tab names
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-04 00:56:58 -07:00
Jeff Carr
8d9f0b6a34
make a WindowMap to track which windows exist
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-03 15:45:40 -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
584e3b60d4
make a buttonMap
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 22:22:04 -07:00
Jeff Carr
a030afb2bd
remove 'Action'
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 21:56:43 -07:00
Jeff Carr
abd061ae58
This might be stable enough to leave alone.
...
Up to this point it's been needing 10 patches
a day.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 20:51:26 -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
1366012bc9
more deletions of old stuff
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 15:49:52 -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
b57b12549e
doesn't crash
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 11:02:14 -07:00
Jeff Carr
d95e62aaea
spash screen works again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 21:15:55 -07:00
Jeff Carr
c9d46e1905
builds and works again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 15:38:47 -07:00
Jeff Carr
6a0467f5a8
compiles again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 14:10:12 -07:00
Jeff Carr
a941c5a0f1
start handling 'Guiwindow' correctly
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 13:41:45 -07:00
Jeff Carr
20a402f106
rename fields
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 12:43:40 -07:00
Jeff Carr
2efce7f0cb
change around the concept of "Window" and "Box"
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 11:45:15 -07:00
Jeff Carr
7d85fd05cd
more control panel code removal
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 01:20:20 -07:00
Jeff Carr
035daca718
v0.2
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-31 22:28:02 -07:00
Jeff Carr
881859d079
trying to fix 'SHOW VM'
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-31 20:14:15 -07:00