add buttons to change pen mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user