Commit Graph

197 Commits

Author SHA1 Message Date
Jeff Carr 3238695374 write out the config filename at the end
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:37:03 -07:00
Jeff Carr a3896449ca store the account information
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:33:30 -07:00
Jeff Carr 3eaa1bf85e implement QUIT and saving new account info to the config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 11:03:32 -07:00
Jeff Carr 0602047f56 pass the new account username and password through
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 10:50:18 -07:00
Jeff Carr f41884278b show the accounts from the config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 10:04:22 -07:00
Jeff Carr 84fc164e7f crap. the 'config' isn't parsing the JSON files correctly?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 09:47:48 -07:00
Jeff Carr 03f30a7161 tag v0.4
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 03:04:19 -07:00
Jeff Carr 1c7a68770d display golang build version & git commit rev
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 00:11:49 -07:00
Jeff Carr daca095873 move create VM tab back into GUI goroutine
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 22:33:16 -07:00
Jeff Carr 6557b04af5 streamline button click handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:34:31 -07:00
Jeff Carr e6a8dfdd65 more button tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:17:00 -07:00
Jeff Carr a05d7b4a19 add the main tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 21:02:02 -07:00
Jeff Carr 28e4b48a26 start moving everything to git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 20:16:16 -07:00
Jeff Carr b04ad7c0c4 structure rename
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 19:05:03 -07:00
Jeff Carr f3eaf0c5a0 add a test where literally every GUI thing is isolated in a seperate
goroutine

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 18:36:23 -07:00
Jeff Carr 32990af0fd try to delete and replace the ui.Tab(0)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:53:50 -07:00
Jeff Carr f98164e2fc make the button add the tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:28:24 -07:00
Jeff Carr 88040fe6fa use InsertAt() instead of Append()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:20:53 -07:00
Jeff Carr 3367793ea5 start making tabs to test behavior under Windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:15:22 -07:00
Jeff Carr 41e9f95789 makes the main window 'tabbed'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 17:06:33 -07:00
Jeff Carr 62df742725 show window at the end (for mswindows?)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 13:26:38 -07:00
Jeff Carr 81df3e09fc simple draw area example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 13:25:43 -07:00
Jeff Carr 59e1838663 minor changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 13:12:03 -07:00
Jeff Carr 75188b10ca another attempt
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 11:27:46 -07:00
Jeff Carr 28a96010fd does Distroy() on the ui.Box
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 11:14:42 -07:00
Jeff Carr b9d10aed57 crashes randomly but sometimes works. Strange.
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-22 09:05:23 -07:00
Jeff Carr 7e787c10ca more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:18:59 -07:00
Jeff Carr 6868e87c5c clean up the libui table examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:00:45 -07:00
Jeff Carr 52f1673cf7 add a new UI table example
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:45:39 -07:00
Jeff Carr 847992a001 remove these garbage examples
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:34:54 -07:00
Jeff Carr 65d31eff26 more debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:20:43 -07:00
Jeff Carr 977c054d71 ignore elf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:18:18 -07:00
Jeff Carr fb44fc3f58 add massive deubgging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:17:54 -07:00
Jeff Carr 5733d39056 try to fix table2 by adding images back
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 17:11:17 -07:00
Jeff Carr 33484d5aac add a single table UI example in a single file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 16:54:45 -07:00
Jeff Carr 6690122800 the original table example code from andlabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 15:37:32 -07:00
Jeff Carr 12cb01be84 eventChannel no longer imports 'ui' directly
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 15:17:00 -07:00
Jeff Carr 5a9544b8d2 fix the flow
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-19 20:24:58 -07:00
Jeff Carr 50d084fc39 maybe each stage needs to be it's own package for now until
there is better abstraction of the GUI

Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-19 20:18:42 -07:00
Jeff Carr 36d67d0d2e more work on an add account screen
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-19 19:21:35 -07:00
Jeff Carr 17ec92568d close on mouse click and keypress events
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 14:25:40 -07:00
Jeff Carr 904cd2a221 add some keypress debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 13:19:46 -07:00
Jeff Carr 9a49f56147 seperate the area code into it's own file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 13:07:45 -07:00
Jeff Carr 81dabbe53d v0.3
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 12:54:35 -07:00
Jeff Carr 640c99c256 remove tabs from the main windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:52:40 -07:00
Jeff Carr 67813ac698 move splash screen into a seperate file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:35:03 -07:00
Jeff Carr 287dff1a08 This splash screen OK button might be exiting without causing a GTK panic
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:23:48 -07:00
Jeff Carr eb9ddc3d5b this crashes. maybe a bug in libui?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-17 11:01:34 -07:00
Jeff Carr 7dc4972a63 playing around with Destroy() & Delete()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-16 11:42:28 -07:00
Jeff Carr 30632be83e how to compile to windows and macos
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-15 15:32:40 -07:00