1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
4df668e68f
Minor formating fixes. 2019-12-29 22:26:05 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.

So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
b2dbee33fb Font: moving text size from font to Text object. 2016-05-05 11:04:54 +02:00
c74dda1200 include/Spectre/Graphics/Font.h: move texture variable into it's own struct.
When implementing rendering of glyphs with different properties: size, stroke width, bold etc.
We will need to store them in different textures.
2016-04-23 18:36:39 +02:00
1423a161a4 source/Graphics/Font.cpp: resizeTexture() take pixelformat from current texture. 2016-03-28 17:23:20 +02:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00