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

Struct GUIImage

gui.go:3285–3293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3283}
3284
3285type GUIImage struct {
3286 Texture *sdl.Texture
3287 Rect *sdl.FRect
3288 SrcRect *sdl.FRect
3289 WorldSpace bool
3290 Border bool
3291 TintByFontColor bool
3292 Visible bool
3293}
3294
3295func NewGUIImage(rect, srcRect *sdl.FRect, texture *sdl.Texture, worldSpace bool) *GUIImage {
3296 icon := &GUIImage{Rect: rect, SrcRect: srcRect, Texture: texture, WorldSpace: worldSpace, TintByFontColor: true, Visible: true}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected