summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-30 08:55:54 -0700
committerJeff Carr <[email protected]>2019-05-30 08:55:54 -0700
commit3abb0b92f481341bc80da3b971956e34d2f2ef07 (patch)
tree580c7a93d0749d3c048db810bb0f234d1b9732ac /structs.go
parent5ad5afee4d9cc4b6abb527ded4ff321807af2f0f (diff)
more variable name fixes
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/structs.go b/structs.go
index b54f7c4..8251f24 100644
--- a/structs.go
+++ b/structs.go
@@ -22,7 +22,7 @@ type GuiData struct {
// a fallback default function to handle mouse events
// if nothing else is defined to handle them
- MouseClick func(*ButtonMap)
+ MouseClick func(*GuiButton)
// account entry textboxes
Config *pb.Config
@@ -43,7 +43,7 @@ type GuiData struct {
// A map of all buttons everywhere on all
// windows, all tabs, across all goroutines
// This is "GLOBAL"
- AllButtons []ButtonMap
+ AllButtons []GuiButton
// A map of all the entry boxes
AllEntries []*GuiEntry
@@ -71,7 +71,7 @@ type GuiEntry struct {
Account *pb.Account
VM *pb.Event_VM
- B *ButtonMap
+ B *GuiButton
FB *ui.FontButton
A *ui.Area
W *ui.Window
@@ -101,7 +101,7 @@ type FontString struct {
W font.Weight
}
-type ButtonMap struct {
+type GuiButton struct {
// andlabs/ui stuff
B *ui.Button
FB *ui.FontButton
@@ -118,13 +118,13 @@ type ButtonMap struct {
Action string // what type of button
// a callback function for the main application
- custom func (*ButtonMap)
+ custom func (*GuiButton)
}
// AREA STRUCTURES START
type AreaHandler struct{
- Button *ButtonMap
+ Button *GuiButton
Attrstr *ui.AttributedString
Area *ui.Area
WM *GuiWindow
@@ -178,7 +178,7 @@ type HumanCellData struct {
Color color.RGBA
ColorID int
VM *pb.Event_VM
- Button *ButtonMap
+ Button *GuiButton
}
type HumanMap struct {