Popup presets panel, fix padding scissor, stacked mouse capture
This commit is contained in:
@@ -111,6 +111,7 @@ public:
|
||||
bool m_force_mouse_capture = false;
|
||||
bool m_capture_children = true; // wether to capture children events when xx_capture() is used
|
||||
bool m_destroyed = false;
|
||||
std::vector<Node*> m_capture_stack;
|
||||
|
||||
bool m_mouse_ignore = true;
|
||||
float m_zoom = 1.f;
|
||||
@@ -217,7 +218,7 @@ public:
|
||||
virtual void on_tick(float dt) { };
|
||||
virtual kEventResult on_event(Event* e);
|
||||
virtual kEventResult handle_event(Event* e);
|
||||
virtual void handle_resize(glm::vec2 old_size, glm::vec2 new_size);;
|
||||
virtual void handle_resize(glm::vec2 old_size, glm::vec2 new_size);
|
||||
virtual void create();
|
||||
virtual void init();
|
||||
virtual void loaded();
|
||||
@@ -240,6 +241,7 @@ public:
|
||||
int get_child_index(Node* n);
|
||||
Node* get_child_at(int index);
|
||||
glm::vec4 get_children_rect() const;
|
||||
bool is_child_recursive(Node* o) const;
|
||||
void mouse_capture();
|
||||
void mouse_release();
|
||||
void key_capture();
|
||||
|
||||
Reference in New Issue
Block a user