add buttons to change pen mode

This commit is contained in:
2017-05-04 19:26:05 +01:00
parent 977e18bd25
commit 45275c2947
2 changed files with 45 additions and 0 deletions

View File

@@ -665,6 +665,11 @@ public:
// m_border->parse_attributes(ka, attr);
// m_text->parse_attributes(ka, attr);
}
void set_color(const glm::vec4& c)
{
color_normal = c;
m_border->m_color = color_normal;
}
virtual kEventResult handle_event(Event* e) override
{
Node::handle_event(e);