SetColor4 sets the color of the panel paddings and content area
(color *math32.Color4)
| 432 | |
| 433 | // SetColor4 sets the color of the panel paddings and content area |
| 434 | func (p *Panel) SetColor4(color *math32.Color4) *Panel { |
| 435 | |
| 436 | p.udata.paddingsColor = *color |
| 437 | p.udata.contentColor = *color |
| 438 | p.SetChanged(true) |
| 439 | return p |
| 440 | } |
| 441 | |
| 442 | // Color4 returns the current color of the panel content area |
| 443 | func (p *Panel) Color4() math32.Color4 { |
nothing calls this directly
no test coverage detected