diff options
| author | Clement Benard <contact@clementbenard.com> | 2019-07-04 16:28:51 +0200 |
|---|---|---|
| committer | Clement Benard <contact@clementbenard.com> | 2019-07-04 16:28:51 +0200 |
| commit | 3a216b96b6a7c80275a2516e7de82d9b2ffc96df (patch) | |
| tree | 676a7983048b7bbc35f2ffe7d685bb65683660f7 /examples/layout/theme.go | |
| parent | ed00d80d15daf82492cace0e51cc5584f0aae736 (diff) | |
| download | gui-3a216b96b6a7c80275a2516e7de82d9b2ffc96df.zip | |
added layout basics
Diffstat (limited to 'examples/layout/theme.go')
| -rw-r--r-- | examples/layout/theme.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/layout/theme.go b/examples/layout/theme.go new file mode 100644 index 0000000..e37c0c0 --- /dev/null +++ b/examples/layout/theme.go @@ -0,0 +1,19 @@ +package main + +import ( + "image/color" + + "golang.org/x/image/font" +) + +type Theme struct { + Face font.Face + + Background color.Color + Empty color.Color + Text color.Color + Highlight color.Color + ButtonUp color.Color + ButtonOver color.Color + ButtonDown color.Color +} |