From 3abb0b92f481341bc80da3b971956e34d2f2ef07 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 30 May 2019 08:55:54 -0700 Subject: more variable name fixes Signed-off-by: Jeff Carr --- structs.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'structs.go') 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 { -- cgit v1.2.3