implemented brush settings switch between pen/erase

This commit is contained in:
2017-09-28 22:30:47 +01:00
parent b4b9cf2a7c
commit 763e446cc5
7 changed files with 44 additions and 10 deletions

View File

@@ -41,6 +41,7 @@ class CanvasModePen : public CanvasMode
float m_camera_fov;
float m_zoom_canvas = 1.f;
float m_zoom_start;
bool m_valid_brush = false;
ui::Brush m_brush;
public:
virtual void on_MouseEvent(MouseEvent* me, glm::vec2& loc) override;