Versions in this module Expand all Collapse all v0 v0.0.1 Feb 21, 2023 Changes in this version + func AdjustCase(line string, letterCase LetterCase) string + func AudioAdapter(params AdapterParams) (*audioAdapter, error) + func Color(c color.Color) sdl.Color + func DisplayAdapter(params AdapterParams) (ad *displayAdapter, err error) + func HandleEvents(h player.EventHandler) + func Init() error + func LoadImageToTexture(renderer *sdl.Renderer, filename string) (*sdl.Texture, error) + func Quit() + func SDLAdapter(params AdapterParams) (*sdlAdapter, error) + type AdapterParams struct + Display int + FontPath string + FontSize float32 + Fullscreen bool + LetterCase LetterCase + type LetterCase uint8 + const LowerCase + const NormalCase + const UpperCase + type RenderContext struct + func (rc *RenderContext) Render() error + type RenderData struct + Background *sdl.Texture + Text []string + TextColor color.Color + func (data *RenderData) Destroy() error + func (data *RenderData) Patch(new RenderData)