pen state and buttons color when active
This commit is contained in:
@@ -40,7 +40,6 @@ class Canvas
|
||||
bool m_dirty = false;
|
||||
public:
|
||||
static Canvas* I;
|
||||
bool m_erase = false;
|
||||
bool m_alpha_lock = false;
|
||||
glm::mat4 m_mv;
|
||||
glm::mat4 m_proj;
|
||||
@@ -67,6 +66,8 @@ public:
|
||||
Sampler m_sampler_mask;
|
||||
glm::vec2 m_cam_rot;
|
||||
float m_cam_fov = 85;
|
||||
enum class kPenState { Draw, Erase, Line, Camera };
|
||||
kPenState m_state{ kPenState::Draw };
|
||||
|
||||
GLuint cube_id;
|
||||
RTT m_latlong;
|
||||
|
||||
Reference in New Issue
Block a user