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

Method Rectangle

gui.go:545–548  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543}
544
545func (pb *ProgressBar) Rectangle() *sdl.FRect {
546 r := *pb.Rect
547 return &r
548}
549
550func (pb *ProgressBar) SetRectangle(rect *sdl.FRect) {
551 pb.Rect.X = rect.X

Callers 1

DrawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected