mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
allow to use cairo-image/software surface for canvas & cairowidgets
This commit is contained in:
parent
6dc3a4bf61
commit
b04414d170
5 changed files with 94 additions and 9 deletions
|
|
@ -190,6 +190,7 @@ public:
|
|||
void stop_tooltip_timeout ();
|
||||
|
||||
protected:
|
||||
void on_size_allocate (Gtk::Allocation&);
|
||||
bool on_scroll_event (GdkEventScroll *);
|
||||
bool on_expose_event (GdkEventExpose *);
|
||||
bool on_button_press_event (GdkEventButton *);
|
||||
|
|
@ -210,6 +211,8 @@ private:
|
|||
void item_going_away (Item *, boost::optional<Rect>);
|
||||
bool send_leave_event (Item const *, double, double) const;
|
||||
|
||||
Cairo::RefPtr<Cairo::Surface> canvas_image;
|
||||
|
||||
/** Item currently chosen for event delivery based on pointer position */
|
||||
Item * _current_item;
|
||||
/** Item pending as _current_item */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue