MCPcopy Create free account
hub / github.com/SolarLune/masterplan / NewIconButtonTintless

Function NewIconButtonTintless

gui.go:220–224  ·  view source on GitHub ↗
(x, y float32, iconSrc *sdl.FRect, image Image, worldSpace bool, onClicked func())

Source from the content-addressed store, hash-verified

218}
219
220func NewIconButtonTintless(x, y float32, iconSrc *sdl.FRect, image Image, worldSpace bool, onClicked func()) *IconButton {
221 b := NewIconButton(x, y, iconSrc, image, worldSpace, onClicked)
222 b.Tint = ColorWhite
223 return b
224}
225
226func (iconButton *IconButton) Update() {
227

Callers 5

NewTooltipFunction · 0.85
NewImageContentsFunction · 0.85
NewMapContentsFunction · 0.85
NewTableContentsFunction · 0.85
NewInternetContentsFunction · 0.85

Calls 1

NewIconButtonFunction · 0.85

Tested by

no test coverage detected