mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
simplify Canvas::Rectangle rendering to avoid unnecessary nonsense, and remove TimeRectangle
This commit is contained in:
parent
2a5921ecf1
commit
a992a2e6e0
2 changed files with 19 additions and 58 deletions
|
|
@ -88,18 +88,6 @@ public:
|
|||
What _outline_what;
|
||||
};
|
||||
|
||||
class TimeRectangle : public Rectangle
|
||||
{
|
||||
public:
|
||||
TimeRectangle (Canvas* c) : Rectangle (c) {}
|
||||
TimeRectangle (Canvas* c, Rect const & r) : Rectangle (c, r) {}
|
||||
TimeRectangle (Item* i) : Rectangle (i) {}
|
||||
TimeRectangle (Item* i, Rect const & r) : Rectangle (i, r) {}
|
||||
|
||||
void render (Rect const &, Cairo::RefPtr<Cairo::Context>) const;
|
||||
void compute_bounding_box () const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue