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

Method SetRectangle

gui.go:915–917  ·  view source on GitHub ↗
(rect *sdl.FRect)

Source from the content-addressed store, hash-verified

913}
914
915func (button *Button) SetRectangle(rect *sdl.FRect) {
916 button.Label.SetRectangle(rect)
917}
918
919func (button *Button) Destroy() {
920 button.Label.Destroy()

Callers 1

NewButtonFunction · 0.95

Calls 1

SetRectangleMethod · 0.65

Tested by

no test coverage detected