diff options
| author | Jeff Carr <[email protected]> | 2019-06-05 10:01:36 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-05 10:01:36 -0700 |
| commit | ba93e331fdc2a7ec883ac2f9e954e60d99f24285 (patch) | |
| tree | 9398cafef120a380722bdf84ec5bf6d9a005fe08 /structs.go | |
| parent | 224740b4b8f346eba159004c82ed54ce52c2adb2 (diff) | |
reimplement the color button
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -64,6 +64,7 @@ type GuiWindow struct { Width int Height int Axis int // does it add items to the X or Y axis + TabNumber int // the andlabs/ui tab index // the callback function to make the window contents MakeWindow func(*GuiWindow) *GuiBox @@ -100,10 +101,12 @@ type GuiButton struct { // a callback function for the main application Custom func (*GuiButton) Values interface {} + Color color.RGBA // andlabs/ui abstraction mapping B *ui.Button FB *ui.FontButton + CB *ui.ColorButton } // text entry fields |
