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

@@ -197,7 +197,8 @@ func (w *MenuItem) Draw(screen tcell.Screen) {
}
}
func (w *MenuItem) Active() bool { return w.active }
func (w *MenuItem) SetStyle(s tcell.Style) { w.style = s }
func (w *MenuItem) Active() bool { return w.active }
func (w *MenuItem) SetActive(a bool) {
w.active = a
if !w.manualExpand {