8481560175
Decided this TODO isn't required
2021-01-31 18:17:41 +01:00
f92a94ef01
SDLPP: Don't save textures before render
...
Since textures should only be manipulated in the main thread (as well
as rendering), let programmers deal with ensuring the texture is
available during rendercopy
2021-01-31 15:56:47 +01:00
392bc4f203
TETRIS: Add windows_release target to Makefile
2021-01-30 23:14:12 +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
2622c9fb98
SDLPP: Make compile-able in g++
2021-01-30 22:23:45 +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
1f7a80d7d2
SDLPP: Save texture before rendering
...
In some cases texture might be changed after render() has been called
but before renderer presented the render, causing errors.
2021-01-30 21:30:51 +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
27949f891a
SDLPP LineRenderer: actually copy in copySelf
2020-12-18 16:05:38 +01:00
20c30712b9
SDLPP: make copySelf actually copy everything
2020-12-18 16:02:02 +01:00
7267cb7b9a
SDLPP TextRenderer: change font size based on rectangle height
2020-12-18 15:10:13 +01:00
57143262ac
SDLPP: allow change of font size
2020-12-18 15:08:21 +01:00
346b8ce384
Formatting
2020-11-22 23:48:45 +01:00
730a00b8fa
SDLPP: add .dll target for windows
2020-11-22 23:37:55 +01:00
afc836902b
Make dynamic library work on macos
2020-11-22 21:58:37 +01:00
633502b189
Split sdlpp into smaller files
2020-11-21 20:57:40 +01:00