Commit Graph

28 Commits

Author SHA1 Message Date
Jeff Carr 3cdc585913 NODE: going down a rabbit hole 2021-10-08 07:36:53 -05: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 5536e659ae see if an interface can store the outside values
also finally fixed the splash area logic

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 19:49:17 -07:00
Jeff Carr 1274211f20 almost complete 'CLEAN'. yet more code refactoring
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 15:19:53 -07:00
Jeff Carr 2af6fa52a4 finally cleaned out all protobuf references
this effort is almost done being 'cleaned'
of the code I started with. This library
is not perfect and lacks features from
andlabs/ui but it will work for our purposes

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-02 13:40:44 -07:00
Jeff Carr 7d85fd05cd more control panel code removal
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 01:20:20 -07:00
Jeff Carr 8730dbc4dd move all structs into a common file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 11:32:47 -07:00
Jeff Carr 265a8f6813 more mouse click handling cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 09:02:35 -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 7d01a72e59 better variable names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 14:39:46 -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 f3eeb4e9ec remove all the uneeded row args
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-13 00:08:59 -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 50d0a1e428 more code removal
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:09:57 -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 c58f4d0c61 attempt a mapping between the libUI and human index's
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 20:25:55 -07:00
Jeff Carr b92903ad15 try to clean up this wrapper code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 18:05:17 -07:00
Jeff Carr 27bf7bb709 freeze to try to fix things inside of libui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 15:33:33 -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 f754cd7030 Cleaned out the cell width type init from the data init
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 16:50:52 -07:00
Jeff Carr 224fdff8aa successfully inserted a row
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 15:28:40 -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