summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-21 15:17:50 -0700
committerJeff Carr <[email protected]>2019-05-21 15:17:50 -0700
commit0826a0459346dee914e6bdd466f0abde698b506e (patch)
tree0633145fbb888c546bdc4b61c070041325a37bf4 /table.go
parentc3ba0117dfaeb2ba74a3abc5146e6cb8fcfac8e1 (diff)
use the standard golang 'image/color' struct
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'table.go')
-rw-r--r--table.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/table.go b/table.go
index 6e6c091..814a073 100644
--- a/table.go
+++ b/table.go
@@ -3,6 +3,8 @@
package gui
import "log"
+import "image/color"
+
import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
@@ -32,7 +34,8 @@ type HumanCellData struct {
// Text ui.TableString
Text string
TextID int
- Color ui.TableColor
+ // Color ui.TableColor
+ Color color.RGBA
ColorID int
}