| 3283 | } |
| 3284 | |
| 3285 | type 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 | |
| 3295 | func 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} |
nothing calls this directly
no outgoing calls
no test coverage detected