mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
extend ArdourWidgets::Frame to allow no-draw of frame
Associated: disambiguate Frame use where necessary.
This commit is contained in:
parent
d982507085
commit
46a8073ff2
3 changed files with 111 additions and 94 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue