Commit Graph

66 Commits

Author SHA1 Message Date
Jeff Carr 80608e070d remove old test code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 14:12:38 -07:00
Jeff Carr e6d49b94ed pass 'ADD' to main application code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 14:03:20 -07:00
Jeff Carr b57ed75580 work on add VM
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 13:53:54 -07:00
Jeff Carr 22c687ea4d remove old code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 12:46:27 -07:00
Jeff Carr 9894f31264 almost complete obviewscation of the buttons
yes, I can't spell. I like it this way better anyway

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 12:40:07 -07:00
Jeff Carr 679f01341e more removal of button information function passing
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 12:10:48 -07:00
Jeff Carr 4f08c8f1ce standardize other mouse clicks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 11:54:33 -07:00
Jeff Carr b251151328 more code cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 02:19:09 -07:00
Jeff Carr 8fe85f0af2 pass the VM to the buttons in the VM tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-25 16:00:33 -07:00
Jeff Carr 7b601a8e68 update for the new protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-25 02:50:43 -07:00
Jeff Carr 3b096d8145 work on fixing 'add account'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-25 01:36:36 -07:00
Jeff Carr fdd473b23b single CreateButton function
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 20:54:09 -07:00
Jeff Carr da315467cc remove more unused stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 19:45:03 -07:00
Jeff Carr 601ffee7c0 fixed. control panel is working again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 19:29:08 -07:00
Jeff Carr 838fdb7b60 start removing the config package
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 18:17:05 -07:00
Jeff Carr 462813cf36 remove more code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 16:19:22 -07:00
Jeff Carr 858f7fd93c button handling almost completely cleaned up
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 13:23:50 -07:00
Jeff Carr 238c39de36 clean more of the button handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 12:51:04 -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 9b29c265b2 more button debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 01:51:37 -07:00
Jeff Carr 83e8db1aac standard message window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 00:18:42 -07:00
Jeff Carr 2c1db72a6f formating + standard error box
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 00:04:14 -07:00
Jeff Carr e00e6670ed make custom buttons for the account sockets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 17:44:00 -07:00
Jeff Carr cdf7ee0962 remove demo examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 16:38:33 -07:00
Jeff Carr 3dca760b3e remove old function name
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 16:09:22 -07:00
Jeff Carr f283a656dc start honoring the debugging flag for more output
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 13:13:42 -07:00
Jeff Carr 7bcdefb94a add a HomeDir
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:34:39 -07:00
Jeff Carr e6e1fec442 pass through the account username and password
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 10:50:37 -07:00
Jeff Carr b9ade31605 try to list the registered accounts
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 09:48:12 -07:00
Jeff Carr cf9fe10d1e display golang build version & git commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 00:12:18 -07:00
Jeff Carr 0ac47b65bd allow version to be set
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 22:50:36 -07:00
Jeff Carr c4b46266b0 push button logic outside of the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:34:46 -07:00
Jeff Carr 7638127519 more button tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:16:52 -07:00
Jeff Carr 6984b0dbc0 all local variables are in Data{}
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 20:30:48 -07:00
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 7ea694b086 more moving of all variables into a common structure
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 19:11:43 -07:00
Jeff Carr 9189fcde04 start moving everything into a common structure (gui.Data)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 19:05:25 -07:00
Jeff Carr 522581dbaf I guess all GUI stuff must go in here. No other goroutine can ever
interact with the GUI or Windows cross platform support breaks.
Lame

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 18:35:00 -07:00
Jeff Carr 5c07e5f605 actually use the string passed
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 11:27:58 -07:00
Jeff Carr c43ef7e7e3 attempt to make buttons with custom callback functions
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 10:39:56 -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 2ea414bb14 make a common column init()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-13 00:46:11 -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 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 138eff381a more code cleanup
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 23:02:39 -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 27b26ea5b7 move sample code into appropriate files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 18:17:12 -07:00