From a6c1864f439e16262d9587cbf3c024db07a2e316 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Feb 2025 08:47:55 -0600 Subject: removed old var --- structs.go | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 832e6bf..6982e04 100644 --- a/structs.go +++ b/structs.go @@ -75,17 +75,16 @@ type config struct { // stuff controlling how the mouse works type mouse struct { - down time.Time // when the mouse was pressed down - up time.Time // when the mouse was released. used to detect click vs drag - clicktime time.Duration // how long is too long for a mouse click vs drag - mouseUp bool // is the mouse up? - double bool // user is double clicking - doubletime time.Duration // how long is too long for double click - resize bool // mouse is resizing something - downW int // where the mouse was pressed down - downH int // where the mouse was pressed down - currentDrag *guiWidget // what widget is currently being moved around - globalMouseDown bool // yep, mouse is pressed + down time.Time // when the mouse was pressed down + up time.Time // when the mouse was released. used to detect click vs drag + clicktime time.Duration // how long is too long for a mouse click vs drag + mouseUp bool // is the mouse up? + double bool // user is double clicking + doubletime time.Duration // how long is too long for double click + resize bool // mouse is resizing something + downW int // where the mouse was pressed down + downH int // where the mouse was pressed down + currentDrag *guiWidget // what widget is currently being moved around } // settings for the stdout window -- cgit v1.2.3