stbtt text testing succesful
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
||||
ShaderManager::u_vec4(kShaderUniform::Col, m_border_color);
|
||||
m_plane.draw_stroke();
|
||||
}
|
||||
virtual void parse_attributes(kAttribute id, const tinyxml2::XMLAttribute* attr)
|
||||
virtual void parse_attributes(kAttribute id, const tinyxml2::XMLAttribute* attr) override
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
@@ -114,6 +114,8 @@ public:
|
||||
case kAttribute::Thickness:
|
||||
m_thinkness = attr->FloatValue();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -169,7 +171,7 @@ public:
|
||||
ShaderManager::u_vec4(kShaderUniform::Col, m_border_color);
|
||||
m_shape->draw_stroke();
|
||||
}
|
||||
virtual void parse_attributes(kAttribute id, const tinyxml2::XMLAttribute* attr)
|
||||
virtual void parse_attributes(kAttribute id, const tinyxml2::XMLAttribute* attr) override
|
||||
{
|
||||
switch (id)
|
||||
{
|
||||
@@ -199,6 +201,8 @@ public:
|
||||
case kAttribute::Type:
|
||||
m_type = (kShapeType)const_hash(attr->Value());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user