13
0

manual fixes for constraint-packer -> newbbgui merge

This commit is contained in:
Paul Davis 2020-06-30 19:05:45 -06:00
parent 2b39c5e0f0
commit 2e4d228f54
2 changed files with 4 additions and 1 deletions

View File

@ -148,6 +148,9 @@ public:
/* layout-related methods */
virtual void size_request (double& w, double& h) const;
void set_size_request (double w, double h);
virtual void preferred_size (Duple& minimum, Duple& natural) const;
virtual void size_allocate (Rect const&);
Rect allocation() const { return _allocation; }
@ -217,6 +220,7 @@ public:
virtual void add (Item *);
virtual void add_front (Item *);
virtual void remove (Item *);
/* XXX this should become virtual also */
void clear (bool with_delete = false);
std::list<Item*> const & items () const {

View File

@ -630,7 +630,6 @@ Item::set_size_request (double w, double h)
end_change ();
}
/** @return Bounding box in this item's coordinates */
ArdourCanvas::Rect
Item::bounding_box () const