MCPcopy Index your code
hub / github.com/andlabs/ui / TableColor

Struct TableColor

tablemodel.go:51–56  ·  view source on GitHub ↗

TableColor is a TableValue that represents a color.

Source from the content-addressed store, hash-verified

49
50// TableColor is a TableValue that represents a color.
51type TableColor struct {
52 R float64
53 G float64
54 B float64
55 A float64
56}
57
58func (c TableColor) toLibui() *C.uiTableValue {
59 return C.uiNewTableValueColor(C.double(c.R), C.double(c.G), C.double(c.B), C.double(c.A))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected