| 1159 | func (dropdown *Dropdown) Destroy() {} |
| 1160 | |
| 1161 | type ButtonGroup struct { |
| 1162 | ChosenIndex int |
| 1163 | Options []string |
| 1164 | Buttons []*Button |
| 1165 | Labels []*Label |
| 1166 | Rect *sdl.FRect |
| 1167 | OnChoose func(index int) |
| 1168 | Property *Property |
| 1169 | WorldSpace bool |
| 1170 | MaxButtonsPerRow int |
| 1171 | } |
| 1172 | |
| 1173 | func NewButtonGroup(rect *sdl.FRect, worldSpace bool, onChoose func(index int), property *Property, choices ...string) *ButtonGroup { |
| 1174 |
nothing calls this directly
no outgoing calls
no test coverage detected