junk
This commit is contained in:
parent
f30489219b
commit
42758e1459
57
color.go
57
color.go
|
@ -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()
|
||||
}
|
||||
*/
|
Loading…
Reference in New Issue