TableColor is a TableValue that represents a color.
| 49 | |
| 50 | // TableColor is a TableValue that represents a color. |
| 51 | type TableColor struct { |
| 52 | R float64 |
| 53 | G float64 |
| 54 | B float64 |
| 55 | A float64 |
| 56 | } |
| 57 | |
| 58 | func (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)) |
nothing calls this directly
no outgoing calls
no test coverage detected