Jeff Carr
|
6f149c2706
|
GUI more stable than before
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:27:28 -07:00 |
Jeff Carr
|
baecdd3d58
|
try to stabilize the GUI
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-10 01:21:32 -07:00 |
Jeff Carr
|
745ef852ef
|
start on a cloud info tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 23:25:27 -07:00 |
Jeff Carr
|
9ed38fd2b8
|
minor fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 22:35:29 -07:00 |
Jeff Carr
|
183ff58f8e
|
use the common nonblocking socket read
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 21:48:35 -07:00 |
Jeff Carr
|
562b20cbb4
|
kinda works better
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 20:46:44 -07:00 |
Jeff Carr
|
b932251092
|
cleaner handling of socket open
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 18:04:40 -07:00 |
Jeff Carr
|
24ae9a3033
|
add a -nogui option for debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 07:00:38 -07:00 |
Jeff Carr
|
4863991462
|
does multiline socket reads
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-09 06:52:51 -07:00 |
Jeff Carr
|
91b9a337e9
|
first attempt at passing in the column types and names
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 17:44:14 -07:00 |
Jeff Carr
|
67418e41da
|
successfully entered a row
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 15:29:06 -07:00 |
Jeff Carr
|
76bf66e1f9
|
try a table with 700 rows. very fast.
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 14:21:05 -07:00 |
Jeff Carr
|
2107a4876e
|
Try to dynamically add some of the other tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 14:03:10 -07:00 |
Jeff Carr
|
048c4f4b32
|
Move gui code into git.wit.com/wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 13:09:44 -07:00 |
Jeff Carr
|
771f9eb29f
|
Isolate all GUI code in an attempt to make a library out of it.
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 13:02:27 -07:00 |
Jeff Carr
|
c5e590985e
|
merge code to create a table into gui.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 12:00:49 -07:00 |
Jeff Carr
|
37fefba92f
|
Rename 'modelHandler' to 'tableData' as all it stores is the data
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:55:51 -07:00 |
Jeff Carr
|
515ed74f58
|
Very close to a clean interface
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:43:33 -07:00 |
Jeff Carr
|
ca8b7d87a7
|
final value init() function deprecated
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:32:23 -07:00 |
Jeff Carr
|
a23144e9a8
|
add some more tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 08:11:25 -07:00 |
Jeff Carr
|
63fd4607dc
|
start removing the fixed entries from before
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 04:22:43 -07:00 |
Jeff Carr
|
9b58fc0eb0
|
first successful column append
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 04:05:14 -07:00 |
Jeff Carr
|
f8e6200c4c
|
minor cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:41:41 -07:00 |
Jeff Carr
|
fb89975cdf
|
almost completely able to automate adding columns
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:26:35 -07:00 |
Jeff Carr
|
97d7ad349e
|
futher choose better names
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:09:39 -07:00 |
Jeff Carr
|
b28c2c09fa
|
those things are 'rows' in the table
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:06:46 -07:00 |
Jeff Carr
|
e41764285c
|
start renaming variables to figure out what to do next
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 03:02:32 -07:00 |
Jeff Carr
|
f5be9dbd1e
|
god bless golang
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 02:53:42 -07:00 |
Jeff Carr
|
59e459799e
|
hmm. now to think how to generate this
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 01:59:33 -07:00 |
Jeff Carr
|
b84d38e33b
|
ah. maybe it's possible to completely abstract this all away
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 01:49:09 -07:00 |
Jeff Carr
|
fb95e77b50
|
remove some cruft. still doesn't crash & color works
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 00:47:28 -07:00 |
Jeff Carr
|
32f03ccffa
|
color text works for some reason
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 00:41:55 -07:00 |
Jeff Carr
|
f1a37e410c
|
no longer crashes. seems stable. Can edit text fields
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-08 00:02:47 -07:00 |
Jeff Carr
|
5dcbe40e76
|
remove more cruft
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 20:20:16 -07:00 |
Jeff Carr
|
6c5af117f2
|
start playing with buttons
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 20:11:41 -07:00 |
Jeff Carr
|
b4e1c326d5
|
remove the demo table from our control panel
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 19:48:02 -07:00 |
Jeff Carr
|
0a4a0c5f9b
|
fix the last callback
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 19:45:59 -07:00 |
Jeff Carr
|
0a7370d7f8
|
Add an example libUI table to push upstream
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 19:31:58 -07:00 |
Jeff Carr
|
cec3013b97
|
final code reorg before attempting to implement a WIT VM table
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 18:35:58 -07:00 |
Jeff Carr
|
44c64228ce
|
All demo table code is now seperate
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 18:33:23 -07:00 |
Jeff Carr
|
96348bc86d
|
move more of the table Demo code into it's own file
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 18:16:58 -07:00 |
Jeff Carr
|
261b49782d
|
Move Cellvalue() into using standard callbacks
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 18:07:31 -07:00 |
Jeff Carr
|
9b3e15c7df
|
removed old testing code
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 17:07:45 -07:00 |
Jeff Carr
|
3f2645e4b0
|
fix all the GTK errorrs
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 16:58:44 -07:00 |
Jeff Carr
|
369a8941a8
|
successfully add 2 tabs dynamically
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 16:42:16 -07:00 |
Jeff Carr
|
dc3f440e47
|
dynamically add tabs. work around the JSON config file problem
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 14:54:08 -07:00 |
Jeff Carr
|
e4233a1251
|
move to a human readable tab-indented JSON config file
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 05:40:07 -07:00 |
Jeff Carr
|
5f1dde7e27
|
write out json and yaml config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 05:02:39 -07:00 |
Jeff Carr
|
64223c47cd
|
loop through attempts to connect every 10 seconds
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 04:28:50 -07:00 |
Jeff Carr
|
629de89203
|
Add a systray example
Signed-off-by: Jeff Carr <jcarr@wit.com>
|
2019-05-07 02:45:36 -07:00 |