SetColor sets the color of the panel paddings and content area
(color *math32.Color)
| 423 | |
| 424 | // SetColor sets the color of the panel paddings and content area |
| 425 | func (p *Panel) SetColor(color *math32.Color) *Panel { |
| 426 | |
| 427 | p.udata.paddingsColor = math32.Color4{color.R, color.G, color.B, 1} |
| 428 | p.udata.contentColor = p.udata.paddingsColor |
| 429 | p.SetChanged(true) |
| 430 | return p |
| 431 | } |
| 432 | |
| 433 | // SetColor4 sets the color of the panel paddings and content area |
| 434 | func (p *Panel) SetColor4(color *math32.Color4) *Panel { |
nothing calls this directly
no test coverage detected