Commit Graph

37 Commits

Author SHA1 Message Date
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
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 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 cf17208da0 save the old way as a 'sample tab' generate option
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 12:54:11 -07:00
Jeff Carr dbe88483da more stable than before
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-10 01:26:55 -07:00
Jeff Carr 7d6a2aba71 add a generic function to add a box as a new tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-09 23:25:55 -07:00
Jeff Carr 7ec12bbfc8 remove all the extra cruft
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 20:19:00 -07:00
Jeff Carr f6af028f63 almost completely automated row and column layout now
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 20:08:51 -07:00
Jeff Carr 366224aaec successfully set the columns from the passed in array
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 19:09:45 -07:00
Jeff Carr 73a084d969 accept the column names are passed
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 17:44:46 -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 9ef3b54c01 more tests that work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 15:35:40 -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 d977b24730 Start with a completely empty page
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:06:29 -07:00
Jeff Carr 9f604f720b Try to dynamically add the other tabs. Doesn't always work.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-08 14:01:57 -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