mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Add Canvas::re_enter() which picks the current item again based on mouse pointer position and generates an enter event for it
This commit is contained in:
parent
779fe6c082
commit
69a92e67f0
2 changed files with 15 additions and 0 deletions
|
|
@ -135,6 +135,11 @@ public:
|
|||
std::string indent() const;
|
||||
std::string render_indent() const;
|
||||
void dump (std::ostream&) const;
|
||||
|
||||
/** Ask the canvas to pick the current item again, and generate
|
||||
an enter event for it.
|
||||
*/
|
||||
virtual void re_enter () = 0;
|
||||
|
||||
protected:
|
||||
void queue_draw_item_area (Item *, Rect);
|
||||
|
|
@ -169,6 +174,8 @@ public:
|
|||
|
||||
bool get_mouse_position (Duple& winpos) const;
|
||||
|
||||
void re_enter ();
|
||||
|
||||
protected:
|
||||
bool on_scroll_event (GdkEventScroll *);
|
||||
bool on_expose_event (GdkEventExpose *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue