Commit Graph

433 Commits

Author SHA1 Message Date
Jeff Carr 8d5b885b3a GUI: show error windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-03 22:41:22 -05:00
Jeff Carr 9c946630a1 WINDOW: try to properly destroy a window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-03 01:44:32 -05:00
Jeff Carr 9960652ec7 TABS: very reliable tab, window and node handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 03:44:39 -05:00
Jeff Carr 934470d1a9 CODE: old code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 02:15:38 -05:00
Jeff Carr f92435a726 BREAK: add vertical and horizontal breaks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 01:26:31 -05:00
Jeff Carr 91e4ad1351 CLEAN: remove more cruft
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 01:13:07 -05:00
Jeff Carr 898874b0e9 CLEAN: out of the rabbit hole
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-01 00:24:56 -05:00
Jeff Carr 8c1c837879 CLEAN: remove GuiButton struct 2021-10-31 23:48:34 -05:00
Jeff Carr 51d324e805 CLEAN: more code removals
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 22:22:16 -05:00
Jeff Carr db6c60decc REFACTOR: remove GuiWindow & GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 21:46:30 -05:00
Jeff Carr d6980daa81 BOX: kill GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 21:07:36 -05:00
Jeff Carr df1978e6a8 BOX: more removals of GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:52:19 -05:00
Jeff Carr bd37df3820 BOX: keep removing GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:36:05 -05:00
Jeff Carr ad3a955750 BOX: remove GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:22:36 -05:00
Jeff Carr f9c6083be4 BOX: keep removing GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 20:07:26 -05:00
Jeff Carr e74b054beb BOX: remove GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 19:52:18 -05:00
Jeff Carr b90d7b96c3 BOX: start removing GuiBox
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 19:39:57 -05:00
Jeff Carr e7bcb14d6c TEXT: fix OnChanged() handling 2021-10-31 15:46:31 -05:00
Jeff Carr f7ead697d3 REFACTOR: refactor everything to gui.Node struct
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 14:21:36 -05:00
Jeff Carr f8766de9a0 NODE: resurrect 'ssh' window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 12:57:54 -05:00
Jeff Carr f72c88dafe NODE: walking
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 12:20:20 -05:00
Jeff Carr c80f805bff NODE: migrate more of my personal gui app
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 07:06:10 -05:00
Jeff Carr 73006c8b5e NODE: switch more around
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 05:19:51 -05:00
Jeff Carr 5ad39c8df9 NODE: remove old code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 04:13:14 -05:00
Jeff Carr d57f74ff45 NODE: make node entries for the buttons
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 04:06:46 -05:00
Jeff Carr 741361c000 NODE: add a button in the hole that doesn't use the other hole
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-31 03:50:22 -05:00
Jeff Carr c91f91b0d6 NODE: still in the rabbit hole
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-30 17:11:28 -05:00
Jeff Carr 15f9f92c62 BOX: start node.button() funcs in the rabbit hole
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-28 19:47:49 -05:00
Jeff Carr 8a87d0cb59 CLEAN: rename some functions for consistancy
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-28 19:11:37 -05:00
Jeff Carr e5763fa317 DOCS: clean up variable names for node.*() functions
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-28 10:39:33 -05:00
Jeff Carr 5e5df9630e NODES: indent output based on depth in node tree
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-28 06:27:27 -05:00
Jeff Carr 57f95e9486 DOCS: try to start making correct go docs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-28 04:58:54 -05:00
Jeff Carr 6a477695ef NODE: almost out of the rabbit hole
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-28 04:10:48 -05:00
Jeff Carr 2c470f86c9 REFACTOR: moving around things in the rabbit hole
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-27 16:31:54 -05:00
Jeff Carr 176cae3a80 REFACTOR: still trying to clean this up
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-27 11:18:22 -05:00
Jeff Carr 25de1c5cdb NODE: make NewGroup()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 09:52:21 -05:00
Jeff Carr a926aa300e NODE: minimal debug tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 09:34:31 -05:00
Jeff Carr 2ec7fc29b0 NODE: more rabbits
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 09:07:23 -05:00
Jeff Carr 2133a00c6b NODE: remove lots of deprecated code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 08:12:31 -05:00
Jeff Carr 26fba883a7 NODE: climbing up the rabbit hole more
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 08:07:46 -05:00
Jeff Carr 23e471d9c1 NODE: finally remove initBlankWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 07:51:17 -05:00
Jeff Carr c74e39a9ef NODE: TODO: refactor InitWindow to use NewWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 07:18:17 -05:00
Jeff Carr a678fcd2ad MISC: minor cleanup
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 06:59:04 -05:00
Jeff Carr af1daa80a0 REORG: move more find() functions into find.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 06:50:27 -05:00
Jeff Carr 3fa94aeb01 REORG: move find() functions into find.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 06:46:49 -05:00
Jeff Carr 76b371b375 EXIT: more accurate window close & exit code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 06:42:33 -05:00
Jeff Carr 3ad83abc3a DEMO: leave a clean "pure" andlabs/ui tab example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 05:46:25 -05:00
Jeff Carr e907164e17 CLEAN: clean up labels
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 05:41:12 -05:00
Jeff Carr 9a07e2b2af EXAMPLE: correctly add a tab to the example app
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 05:25:10 -05:00
Jeff Carr 585e7f00f0 DEBUG: add buttons to add demo & debug tabs.
TabMargin is now always set to true

Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-25 05:00:12 -05:00