Commit Graph

264 Commits

Author SHA1 Message Date
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 2ccc1b518d REFACTOR: things are back to working as they were
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 14:32:07 -05:00
Jeff Carr 908615c038 TAB: correctly lookup and add tabs to blank windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 13:23:00 -05:00
Jeff Carr c58dee3d01 BUG: make it compile
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 11:58:39 -05:00
Jeff Carr 375444ea28 VIM-GO: auto-reformatting by vim-go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 11:56:52 -05:00
Jeff Carr 62010a8d16 FORMAT: I think somehow I formatted this 2021-10-06 11:50:35 -05:00
Jeff Carr 07061a47e7 EXAMPLE: further improvements to the example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 11:17:43 -05:00
Jeff Carr 02943567b1 EXAMPLE: provide a clean example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 10:59:22 -05:00
Jeff Carr 790e6f2c46 REFACTOR: continue to move in a better direction
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 10:43:58 -05:00
Jeff Carr b4a11c0aa1 CODE: start a general code refactor
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 08:36:28 -05:00
Jeff Carr cabdb12495 BUILD: suck it up and try to use go.mod
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 05:14:24 -05:00
Jeff Carr e7e7080825 BUILD: remove old rules that don't work anymore
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 02:02:39 -05:00
Jeff Carr facc785798 BUG: fix WxH
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-06 01:52:27 -05:00
Jeff Carr 9dc8d79062 DEBUG: add DumpMap()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 10:37:53 -05:00
Jeff Carr ccb91460ca BUG: fix potential 'nil' reference
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 10:23:27 -05:00
Jeff Carr 6d401ea14a DEBUG: add Hide(), Show() and Delete() for *ui.Tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 09:42:30 -05:00
Jeff Carr 6438e4cc6a CODE: not sure, but it compiles and runs somehow
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 09:29:55 -05:00
Jeff Carr 6035dc8d79 DEBUG: added button to SetMargin() by name
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 07:13:24 -05:00
Jeff Carr fa17b1c009 DEBUG: add buttons to dump struct info
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 06:46:46 -05:00
Jeff Carr 69956385da DEBUG: list out all the known windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 06:25:32 -05:00
Jeff Carr 6f88d8fbf5 DEBUG: gui to debug windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 05:52:50 -05:00
Jeff Carr 90d8111ada TAB: automatically set all tables to SetMargined(true)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-05 02:00:32 -05:00
Jeff Carr e6c44cd2d3 ANALABS: work on improving the abstraction
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 23:38:45 -05:00
Jeff Carr 83c19cb614 TAB: more tab handling cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 21:54:16 -05:00
Jeff Carr 71a9b13236 TAB: code to more correctly handle gtk tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 21:33:03 -05:00
Jeff Carr c670905b74 WINDOW: add function to create completely blank window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 20:18:51 -05:00
Jeff Carr cfc778b04f MINOR: minor change
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 19:50:29 -05:00
Jeff Carr 534d631c98 WINDOW: add CreateWindow that has proper padding
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-10-04 14:39:38 -05:00
Jeff Carr e00cbad32e shorten times
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-17 10:28:40 -07:00
Jeff Carr c55a039042 allow a custom Exit()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-17 08:09:28 -07:00
Jeff Carr 291f18c1c0 woops. pretty wrong error in making a new window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-17 07:07:54 -07:00
Jeff Carr 7da54784fb don't use Data.Windows anymore
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 15:41:30 -07:00
Jeff Carr 6ebdbf2593 expand the text boxes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 18:53:06 -07:00
Jeff Carr b1b0378780 DeleteWindow() works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 15:57:43 -07:00
Jeff Carr 30c49270d1 this is bad
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 15:30:54 -07:00
Jeff Carr 17512c10c5 ready to implement Destroy()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 14:17:05 -07:00
Jeff Carr 22760127b9 more tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 13:28:13 -07:00
Jeff Carr 602dd0de2d more cleanups on the callback
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 13:09:08 -07:00
Jeff Carr 453106ee34 more moves towards cleaner 'box' handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 12:28:34 -07:00
Jeff Carr 8ad635c307 finally vm list working again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 12:08:47 -07:00
Jeff Carr 4163665b22 just comments
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-06 20:14:27 -07:00
Jeff Carr 030b9b1600 make an init() function
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-05 21:20:40 -07:00
Jeff Carr 999a8fd199 reimplement the color button
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-05 10:01:36 -07:00
Jeff Carr 9bfabef760 oops. this was very wrong
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-05 03:10:15 -07:00
Jeff Carr be59e770b1 never change the ui.Tab Margined() values
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-04 14:09:17 -07:00