mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Towards a consistent render() API.
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45
void render (cairo_t*, cairo_rectagle*)
void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*)
ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context,
this improves overall API consistency.
This commit is contained in:
parent
3294b82e25
commit
d06de26a4f
30 changed files with 55 additions and 49 deletions
|
|
@ -73,7 +73,7 @@ private:
|
|||
bool on_leave_notify_event (GdkEventCrossing*);
|
||||
|
||||
void centre_on_click (GdkEventButton *);
|
||||
void render (cairo_t *, cairo_rectangle_t*);
|
||||
void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*);
|
||||
void render_region (RegionView*, cairo_t*, double) const;
|
||||
void get_editor (std::pair<double, double> *, std::pair<double, double> *) const;
|
||||
void set_editor (double, double);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue