diff options
| author | Jeff Carr <[email protected]> | 2025-03-03 08:31:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-03 08:31:21 -0600 |
| commit | 75014f4b284d3e88266c1ae319ee9bbdb86d3ad2 (patch) | |
| tree | e7285307e91f4291d4361568ed1f89bd6ad9e1d6 /structs.go | |
| parent | 9ef16c1bf2bfc1e00163b461779383c809efff9f (diff) | |
define a background widget more properly
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -77,6 +77,7 @@ type config struct { stdout stdout // information for the STDOUT window dropdown dropdown // the dropdown menu textbox dropdown // the textbox popup window + BG dropdown // the background widget notify libnotify // emulates the desktop libnotify menu allwin []*guiWidget // for tracking which window is next dark bool // use a 'dark' color palette @@ -187,7 +188,6 @@ type window struct { currentTab bool // the visible tab selectedTab *tree.Node // for a window, this is currently selected tab active bool // means this window is the active one - isBG bool // means this is the background widget. There is only one of these order int // what level the window is on // resize bool // only set the title once collapsed bool // only show the window title bar @@ -239,7 +239,6 @@ type guiWidget struct { color *colorT // what color to use colorLast colorT // the last color the widget had defaultColor *colorT // the default colors // TODO: make a function for this instead - isBG bool // means this is the background widget. There is only one of these } // THIS IS GO COMPILER MAGIC |
