Commit Graph

19 Commits

Author SHA1 Message Date
Jeff Carr 72c316dc99 calls back on button clicks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 19:18:55 -07:00
Jeff Carr 4876f4ae77 re-enable debug if statement
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:42:14 -07:00
Jeff Carr 0f1c19d351 remove debugging if statements
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:35:38 -07:00
Jeff Carr acf873444d more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:28:20 -07:00
Jeff Carr e3e34a49ce more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:25:08 -07:00
Jeff Carr 0826a04593 use the standard golang 'image/color' struct
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 15:17:50 -07:00
Jeff Carr c3ba0117df remove libui dependancy on ui.TableString type
Use standard golang 'string' instead of requiring every external
function that manipulates the UI actually need to import the libui
toolkit. This hopefully seperates the GUI from the data the GUI
displays. The libui code actually scans through the data and
updates the cells based on what is stored in memory so this
makes this seperation clean.

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 14:48:15 -07:00
Jeff Carr 6a9ff162d9 start working on a VM window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-15 11:03:42 -07:00
Jeff Carr 5ec1416d20 combined table column init
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-13 00:30:38 -07:00
Jeff Carr ea6d22fc46 only have one copy of the libUI -> human index mapping
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:56:53 -07:00
Jeff Carr f4f430561d really simplify the cell index -> human index mapping
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:49:26 -07:00
Jeff Carr f8000c2e23 no longer need the setCell function callback
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:37:27 -07:00
Jeff Carr ab3cb83385 remove the old Value from the struct
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:17:48 -07:00
Jeff Carr 12e37b4d1f also set the color
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 21:44:05 -07:00
Jeff Carr e5158c4ade displays all the VM data
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 21:21:13 -07:00
Jeff Carr dd753552fd some data is flowing all the way through to the GUI for the first time
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 21:01:22 -07:00
Jeff Carr 800f8db555 export all the structs in TableData
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 15:11:32 -07:00
Jeff Carr 3fa08bed15 export two functions
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:09:17 -07:00
Jeff Carr 188a1de0b5 Initial commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 13:04:18 -07:00