MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetBackgroundColor

Method SetBackgroundColor

internal/ui/components/wide_modal.go:63–67  ·  view source on GitHub ↗

SetBackgroundColor sets the color of the modal frame background.

(color tcell.Color)

Source from the content-addressed store, hash-verified

61
62// SetBackgroundColor sets the color of the modal frame background.
63func (m *WideModal) SetBackgroundColor(color tcell.Color) *WideModal {
64 m.form.SetBackgroundColor(color)
65 m.frame.SetBackgroundColor(color)
66 return m
67}
68
69// SetTextColor sets the color of the message text.
70func (m *WideModal) SetTextColor(color tcell.Color) *WideModal {

Callers 4

NewHeaderFunction · 0.80
NewFooterFunction · 0.80
NewWideModalFunction · 0.80
showScriptInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected