MCPcopy
hub / github.com/g3n/engine / SetPaddingsColor

Method SetPaddingsColor

gui/panel.go:418–422  ·  view source on GitHub ↗

SetPaddingsColor sets the color of this panel paddings.

(color *math32.Color)

Source from the content-addressed store, hash-verified

416
417// SetPaddingsColor sets the color of this panel paddings.
418func (p *Panel) SetPaddingsColor(color *math32.Color) {
419
420 p.udata.paddingsColor = math32.Color4{color.R, color.G, color.B, 1}
421 p.SetChanged(true)
422}
423
424// SetColor sets the color of the panel paddings and content area
425func (p *Panel) SetColor(color *math32.Color) *Panel {

Callers

nothing calls this directly

Calls 1

SetChangedMethod · 0.80

Tested by

no test coverage detected