Tabs don't exist. The are simply windows within a window.
There are *lots* of problems with trying to treat everything
that way. Luckily, we don't have to care. All the problems with
handling that concept can be pushed to the toolkits/
therefore, this primitive code can be kept as clean as possible
Makefile and git cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
I finally was able to clean out all the debugging
code and make a clean, new GO debugger. It's quite
nice I think. Well, it's useful to me at any rate.
2024 New Years wish: someone contributes code to improve it
Signed-off-by: Jeff Carr <jcarr@wit.com>
attempt func (n *gui.Node) blah() definition
better docs for pkg.go.dev
how logging should work
fix syntax links for pkg.go.dev
Signed-off-by: Jeff Carr <jcarr@wit.com>
use the cloudflare package
add a protobuf attempt
better change detection, but formatting is broken
don't redraw widgets if they are not visible
create new dns entry worked
attempting a DNS RR create
attempt a create API call
use cloudflare recommended ENV vars
turn off debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
correct line hight
dump non-working size rectangle code
somehow works better
better dropdown menu debugging
minor fixes to common.go
more common code
Signed-off-by: Jeff Carr <jcarr@wit.com>
dropdown menu figures out what text was clicked
dropdown menu movement changes line colors
dropdown menus force user to select a response
accidentally committed a binary
tab selection works
tab and window views almost working
tabs and windows almost working
window widgets selection works
better color handling
using gocui view.Visable flag
removal of old color setting code
still need an artificial delay for andlabs SetText()
catching more 'nil' errors
fixed the stupid duplicate tab problem in andlabs
figured out how andlabs had a tab/box mess
works on more than one domain
builds and runs again
debugging double tabs in andlabs gui
GO111MODULE compile notes
code reorg
further improvements
example cloudflare app does first successful dns update
add NewEntryLine() for single line entry boxes
Signed-off-by: Jeff Carr <jcarr@wit.com>
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>