Commit Graph

12 Commits

Author SHA1 Message Date
Jeff Carr b9b5f1afd6 both andlabs & gocui plugins have working channels
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 00:28:33 -05:00
Jeff Carr bddce3d5a3 gocui: callbacks work via a channel
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 18:00:18 -05:00
Jeff Carr cd47489d85 gocui: more or less correct sizes
init to normal state (debug=off)
    size handling cleanups
    keep trying to fix grid widget
    move towards cmdline/auto loading of gocui

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 11:19:04 -05:00
Jeff Carr c1edca0f0e gocui: ready for 0.7.6
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 06:29:00 -05:00
Jeff Carr 6b7d1fb30b gocui: more size calculations
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 00:13:28 -05:00
Jeff Carr bd23ef8338 gocui: don't try to draw on add()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 21:15:05 -05:00
Jeff Carr ab6ff31599 gocui: store more in w.gocuiSize.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 18:10:53 -05:00
Jeff Carr 0fb9ab6702 gocui: s/realSize/gocuiSize/
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 13:30:49 -05:00
Jeff Carr fb43b88a0b gocui: rework spacing logic
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 13:06:42 -05:00
Jeff Carr a83110ec03 gocui: use (w,h) and avoid (x,y) names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-04 06:31:30 -05:00
Jeff Carr eca967bf61 gocui: more color cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-03 11:52:54 -05:00
Jeff Carr 7f907e2b19 gocui: working towards correct layout
make a gocui widget binary tree
    more debugging cleanups
    sample button app displays in gocui
    geometry logic closer to correct
    improvements in gocui layout
    continued attempts to clean up tabs
    dump binary tree
    moving towards proper chan callback()
    deprecate Widget.Name

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-03 10:26:47 -05:00