1
0
Fork 0

Graphics/Text.h: Adding outline width/color.

This commit is contained in:
Henrik Hautakoski 2016-03-29 07:31:52 +02:00
parent 1423a161a4
commit 308e0dff6b
2 changed files with 36 additions and 1 deletions

View file

@ -41,6 +41,12 @@ public :
void setColor(const Color& color);
const Color& getColor() const;
void setOutlineColor(const Color& color);
const Color& getOutlineColor() const;
void setOutlineSize(unsigned int size);
unsigned int getOutlineSize() const;
Vector2f getSize() const;
virtual const std::vector<Vertex2D>& getVertices() const;
@ -64,6 +70,10 @@ private :
Color m_color;
Color m_outlineColor;
unsigned int m_outlineWidth;
std::vector<unsigned short> m_indicies;
mutable bool m_geometryNeedsUpdate;