Commit Graph

11 Commits

Author SHA1 Message Date
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 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 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 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 07061a47e7 EXAMPLE: further improvements to the example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 11:17:43 -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 e7e7080825 BUILD: remove old rules that don't work anymore
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 02:02:39 -05:00
Jeff Carr 3a12630a5d always work in the devel branch
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-03 17:07:04 -07:00
Jeff Carr 2f3455c8aa typo
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 15:42:34 -07:00
Jeff Carr 40fef03fa8 misc
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 15:42:03 -07:00
Jeff Carr 188a1de0b5 Initial commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:04:18 -07:00