diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 13:09:22 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 13:09:22 -0600 |
| commit | 42758e145914dc40c820c1b1164a953605c1b3e8 (patch) | |
| tree | ab71e4c0f55057756428e56b6bb644daed6a176e | |
| parent | f30489219b69bc0665fcb6403a44f52469c8c2fa (diff) | |
junk
| -rw-r--r-- | color.go | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/color.go b/color.go deleted file mode 100644 index 219ad10..0000000 --- a/color.go +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2017-2025 WIT.COM Inc. All rights reserved. -// Use of this source code is governed by the GPL 3.0 - -package main - -// information about how terminfo works -// https://jvns.ca/blog/2024/10/01/terminal-colours/ - -// Normal Text On mouseover -// -// Widget Frame Text background Text background -/* -var colorWindow colorT = colorT{ - frame: none, - fg: gocui.ColorBlue, - bg: none, - selFg: gocui.ColorWhite, - // selBg: powdererBlue, - selBg: gocui.ColorBlue, - name: "normal window", -} - -var colorActiveW colorT = colorT{ - frame: none, - fg: gocui.ColorWhite, - bg: gocui.ColorBlue, - selFg: gocui.ColorBlue, - selBg: none, - name: "normal window", -} -*/ - -// var colorActiveW colorT = colorT{none, none, powdererBlue, none, powdererBlue, "active window"} // sets the window to blue - -/* -var colorTab colorT = colorT{gocui.ColorBlue, gocui.ColorBlue, none, none, powdererBlue, "normal tab"} -var colorActiveT colorT = colorT{gocui.ColorBlue, none, powdererBlue, none, powdererBlue, "active tab"} -*/ - -/* -func (tk *guiWidget) setColor(newColor *colorT) { - if tk.color == newColor { - // nothing to do since the colors have nto changed - return - } - tk.color = newColor - if tk.v == nil { - return - } - if tk.color == nil { - // log.Log(NOW, "Set the node to color = nil") - tk.color = &colorNone - } - // log.Log(NOW, "Set the node to color =", tk.color.name) - tk.Show() -} -*/ |
