applyStyle applies the specified WindowTitleStyle.
(s *WindowTitleStyle)
| 401 | |
| 402 | // applyStyle applies the specified WindowTitleStyle. |
| 403 | func (wt *WindowTitle) applyStyle(s *WindowTitleStyle) { |
| 404 | |
| 405 | wt.Panel.ApplyStyle(&s.PanelStyle) |
| 406 | wt.label.SetColor4(&s.FgColor) |
| 407 | } |
| 408 | |
| 409 | // recalc recalculates the height and position of the label in the title bar. |
| 410 | func (wt *WindowTitle) recalc() { |
nothing calls this directly
no test coverage detected