summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-31 16:05:34 -0600
committerJeff Carr <[email protected]>2025-01-31 22:08:21 -0600
commitbac14a675bb0cf284809ff31db98f4a3799fe1f6 (patch)
treefb8ca54f5b8fcf949fa6b57c417fc23cd5f2254e /structs.go
parentb7cd6d07fcaa69d009b3f33f7c59afb16b719029 (diff)
lots of work to clean up my old code
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go18
1 files changed, 7 insertions, 11 deletions
diff --git a/structs.go b/structs.go
index c9d6122..826682e 100644
--- a/structs.go
+++ b/structs.go
@@ -94,18 +94,14 @@ type config struct {
stretchy bool // expand things like buttons to the maximum size
margin bool // add space around the frames of windows
- // writeMutex protects locks the write process
- writeMutex sync.Mutex
+ writeMutex sync.Mutex // TODO: writeMutex protects locks the write process
+ fakefile *FakeFile // JUNK? used to attempt to write to the stdout window
+ dtoggle bool // is a dropdown or combobox currently active?
- // used for listWidgets() debugging
- depth int
-
- // used to attempt to write to the stdout window
- fakefile *FakeFile
-
- // just a counter for curiosity.
- // counts how many mouse and keyboard events have occurred
- ecount int
+ // debugging things
+ ecount int // counts how many mouse and keyboard events have occurred
+ supermouse bool // prints out every widget found while you move the mouse around
+ depth int // used for listWidgets() debugging
}
// deprecate these