diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 04:53:49 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 04:53:49 -0600 |
| commit | 58eff2a9e261335e656f7f5a2311801660b3afc6 (patch) | |
| tree | e7c274277dfb5de60b1eb156ef8931344ad0934c /color.go | |
| parent | c00084bf3fe773bfeee538dcb7f8ee2a85865d29 (diff) | |
disable enable is starting to display
Diffstat (limited to 'color.go')
| -rw-r--r-- | color.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -67,6 +67,7 @@ var colorActiveT colorT = colorT{gocui.ColorBlue, none, powdererBlue, none, powd // var colorLabel colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal label"} // var colorGroup colorT = colorT{none, none, superLightGrey, none, superLightGrey, "normal group"} +/* var colorDisabled colorT = colorT{ frame: superLightGrey, fg: superLightGrey, @@ -75,6 +76,7 @@ var colorDisabled colorT = colorT{ selBg: gocui.ColorBlack, name: "disabled widget", } +*/ var colorLabel colorT = colorT{ frame: gocui.ColorWhite, @@ -172,16 +174,14 @@ func (tk *guiWidget) setColor(newColor *colorT) { tk.Show() } +/* func (w *guiWidget) disableColor() { if w.color != &colorDisabled { w.defaultColor = w.color } w.setColor(&colorDisabled) } - -func (w *guiWidget) enableColor() { - w.setColor(w.defaultColor) -} +*/ func (w *guiWidget) setDefaultHighlight() { if w.v == nil { |
