Graphics/Text.h: Adding outline width/color.
This commit is contained in:
parent
1423a161a4
commit
308e0dff6b
2 changed files with 36 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue