Jeff Carr
32d07aaf5f
more cleaning
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-01 02:58:49 -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
843873c84c
more color tests
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 16:47:24 -07:00
Jeff Carr
784fee726d
oops
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 16:39:25 -07:00
Jeff Carr
3595885818
do colors for windows again
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-28 16:37:46 -07:00
Jeff Carr
25757a812f
clean up more mouse click handling. Almost finished.
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 14:47:30 -07:00
Jeff Carr
1fbb0cd227
more standard button handling
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-26 12:05:23 -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
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
9949a02b3e
start adding a VM page
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-24 01:17:14 -07:00
Jeff Carr
cc5fc8d6a5
more bg color debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 15:32:09 -07:00
Jeff Carr
963a910a43
ignore background color on windows for now
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 15:28:09 -07:00
Jeff Carr
a8d43bea82
try nil for all BG row colors
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 15:23:26 -07:00
Jeff Carr
7e9037a9f5
remove color hack
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:33:11 -07:00
Jeff Carr
3e8617d05c
try to return a nil color
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 14:02:04 -07:00
Jeff Carr
e00585d71a
more debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-23 13:57:49 -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
4876f4ae77
re-enable debug if statement
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:42:14 -07:00
Jeff Carr
0f1c19d351
remove debugging if statements
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:35:38 -07:00
Jeff Carr
acf873444d
more debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:28:20 -07:00
Jeff Carr
e3e34a49ce
more debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-21 18:25:08 -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
6a9ff162d9
start working on a VM window
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-15 11:03:42 -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
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
12e37b4d1f
also set the color
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 21:44:05 -07:00
Jeff Carr
e5158c4ade
displays all the VM data
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-05-12 21:21:13 -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
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
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