Add SetStyle Function

This commit is contained in:
2026-01-23 09:36:43 -06:00
parent d442b7d6a8
commit c1296b1dc1
31 changed files with 425 additions and 392 deletions

View File

@@ -165,7 +165,8 @@ func (w *DebugWidget) Draw(screen tcell.Screen) {
w.GetPos().DrawOffset(w.widget, screen)
}
func (w *DebugWidget) Active() bool { return w.active }
func (w *DebugWidget) SetStyle(s tcell.Style) { w.style = s }
func (w *DebugWidget) Active() bool { return w.active }
func (w *DebugWidget) SetActive(a bool) {
w.active = a
w.widget.SetActive(a)