Commit Graph

13 Commits

Author SHA1 Message Date
Jeff Carr fe6a8dd969 gocui plugin refactor to a *node binary tree
rename arg '--gui <toolkit>'
    add a cloudflare example
    fixes since go v1.21 didn't compile anymore due to argv order
    more place() changes
    recursive size computation

    gocui: Major refactor to use the *node binary tree
    gocui: refactor place() and size()
    gocui: better place() and spacing (tab, buttons, etc)
    gocui: better mouse click handling
    gocui: switch to using tk.gocuiSize & tk.size
    gocui: event handling cleanups
    gocui: add window labels work
    gocui: struct cleanups
    gocui: duplicate binary tree structs removed
    gocui: deprecate old children

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-02 19:02:51 -06:00
Jeff Carr af41bdfc59 gocui: update on add kinda working now
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 16:06:55 -05:00
Jeff Carr ce7e51bafa gocui: more correct logic
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 14:52:54 -05:00
Jeff Carr 38c161f39e gocui: code cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 14:25:48 -05:00
Jeff Carr e750b06831 gocui: closer to correct tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 12:38:39 -05:00
Jeff Carr 051ad00de3 gocli: close to working tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 12:18:08 -05:00
Jeff Carr 132efe17fe gocui: closer to working layout
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-26 01:59:42 -05:00
Jeff Carr 092ac51f5e gocui: hmm. trying to reformat the layout
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-25 22:24:45 -05:00
Jeff Carr a8b4c45eb7 gocui: try to make struct defaults work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-24 14:17:43 -05:00
Jeff Carr d4b3283484 gocui: keep deprecating non-gochannel code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 08:40:31 -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 c29faf4f9b gocui: next step hide junk
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 06:01:14 -05:00