extend ArdourWidgets::Frame to allow no-draw of frame

Associated: disambiguate Frame use where necessary.
This commit is contained in:
Paul Davis 2023-01-22 17:34:25 -07:00
parent d982507085
commit 46a8073ff2
3 changed files with 111 additions and 94 deletions

View file

@ -44,6 +44,9 @@ public:
void set_edge_color (Gtkmm2ext::Color);
void reset_edge_color ();
void set_draw (bool yn);
bool draw() const { return _draw; }
protected:
void on_add (Gtk::Widget*);
void on_remove (Gtk::Widget*);
@ -75,6 +78,7 @@ private:
int _alloc_x0;
int _alloc_y0;
bool _boxy;
bool _draw;
};
} // namespace ArdourWidgets