TextColor is an Attribute that changes the color of the text it is applied to.
| 128 | // TextColor is an Attribute that changes the color of the text it is |
| 129 | // applied to. |
| 130 | type TextColor struct { |
| 131 | R float64 |
| 132 | G float64 |
| 133 | B float64 |
| 134 | A float64 |
| 135 | } |
| 136 | |
| 137 | func (c TextColor) toLibui() *C.uiAttribute { |
| 138 | return C.uiNewColorAttribute(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