Jeff Carr
56f8246bca
andlabs is broken
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-11 15:25:03 -05:00
Jeff Carr
11d3f20c4a
gocui: compiling and running again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 15:34:36 -05:00
Jeff Carr
462015470d
gocui: smarter debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 14:31:00 -05:00
Jeff Carr
821e6d823a
andlabs is still broken
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 12:08:57 -05:00
Jeff Carr
e34ec5efbf
andlabs: my logic for new window is still wrong
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 11:43:58 -05:00
Jeff Carr
85c2fb8d70
andlabs: the binary tree limps along again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 11:06:50 -05:00
Jeff Carr
51b109a976
more code deprecation
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 09:17:17 -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
9d315c3a00
ready to start deprecating code
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-08 00:34:31 -05:00
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
de249412fb
andlabs now works the 'new way'
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-07 22:12:18 -05:00
Jeff Carr
b7ef4f6a2e
more progres on channels
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-07 21:54:57 -05:00
Jeff Carr
5d032e68eb
start work on a plugin channel
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-07 21:22:51 -05:00
Jeff Carr
60a4a1bfd6
andlabs kinda works with a channel
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-07 18:16:16 -05:00
Jeff Carr
8f6e971948
open gocui when DISPLAY=""
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-07 09:18:03 -05:00
Jeff Carr
5ba335ddee
show the gocui in the example
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 23:58:22 -05:00
Jeff Carr
6f6f1a6c25
go 1.18 is needed for plugins
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 21:00:23 -05:00
Jeff Carr
57283a4da7
correctly deprecate *widget to plugins
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 20:50:00 -05:00
Jeff Carr
45d43c3616
andlabs: callback is now safe through a go channel
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 20:25:14 -05:00
Jeff Carr
8045287501
andlabs: use callback channel for window close
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 19:48:24 -05:00
Jeff Carr
9041a6552e
gocui: resize works on textbox's
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 18:44:25 -05:00
Jeff Carr
7cf0d45909
gocui: debug flag buttons work
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 18:26:30 -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
90e45a4a3e
gogui: checkboxes
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 15:00:37 -05:00
Jeff Carr
70253c31f2
andlabs: fix bug in flags and chan window create
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-06 14:16:59 -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
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
0d36740a86
gocui: more almost working
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 22:30:44 -05:00
Jeff Carr
1b7b794dd2
gocui: it might actually work
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 22:19:45 -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
65f4d0e231
more fixes
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 19:33:31 -05:00
Jeff Carr
a881d87108
gocui: close to fixing tab coords
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 19:03:01 -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
cd8ddbc767
gocui: window and tab position kinda correct
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 17:56:27 -05:00
Jeff Carr
5146cdfa80
gocui: more dumb and broken attempts at fixing this code
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-05 17:29:52 -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
89ef92e200
I can't add
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-04 18:45:59 -05:00
Jeff Carr
d6f87e2edf
minor reorg
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-04 10:44:27 -05:00
Jeff Carr
3a4d07fd7a
gocui: grid resize
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-04 10:38:21 -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
40ad372361
gocui: simple grid working
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-03 17:49:37 -05:00
Jeff Carr
b0ae0810c4
gocui: more size debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-03 16:32:01 -05:00
Jeff Carr
c4890c4c84
gocui: debugging logical sizes
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-04-03 16:08:58 -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
Jeff Carr
678b867f1e
'hide' and 'show' works in gocui
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-03-30 08:51:33 -05:00
Jeff Carr
3ac015e4c4
Merge branch 'devel'
2023-03-30 07:58:16 -05:00