Commit Graph

9 Commits

Author SHA1 Message Date
bd8a841e6f Don't updateSizeAndPosition on setPos as it might change texture and that isn't threadsafe 2021-05-25 20:21:26 +02:00
ff741dd882 SDLPP: add texture flipping/rotation 2021-04-29 13:06:37 +02:00
fa10620901 TODOs 2021-03-07 12:20:00 +01:00
a8ff8e49c7 SDLPP: Don't automatically updateSizeAndPosition with every text change
This can lead to problems becuase only main thread can update textures,
let programmers figure out when is the appropriate time to update a
texture.
2021-01-30 22:59:22 +01:00
73f67a3f47 SDLPP: Use FontConfiguration to store font configuration
With this it is possible to only store 1 configuration object
as opposed to storing font configuration inside every TextRenderer
2021-01-30 21:32:08 +01:00
a818c567fc SDLPP: TextRenderer remembers last font/color/outline
This is used for changeText() and updateSizeAndPosition() so programmer
doesn't have to pass the text configuration with every change of text/size.
2021-01-30 16:43:43 +01:00
ad1805101c SDLPP TextRenderer: actually copy in copySelf 2020-12-18 16:12:26 +01:00
7267cb7b9a SDLPP TextRenderer: change font size based on rectangle height 2020-12-18 15:10:13 +01:00
633502b189 Split sdlpp into smaller files 2020-11-21 20:57:40 +01:00