TextBackground is an Attribute that changes the background color of the text it is applied to.
| 141 | // TextBackground is an Attribute that changes the background |
| 142 | // color of the text it is applied to. |
| 143 | type TextBackground struct { |
| 144 | R float64 |
| 145 | G float64 |
| 146 | B float64 |
| 147 | A float64 |
| 148 | } |
| 149 | |
| 150 | func (b TextBackground) toLibui() *C.uiAttribute { |
| 151 | return C.uiNewBackgroundAttribute(C.double(b.R), C.double(b.G), C.double(b.B), C.double(b.A)) |
nothing calls this directly
no outgoing calls
no test coverage detected