mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Change CairoWidget::get_active() to be const
This commit is contained in:
parent
830db39585
commit
85b4acc916
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ public:
|
||||||
that only use the Active and Normal active states.
|
that only use the Active and Normal active states.
|
||||||
*/
|
*/
|
||||||
void set_active (bool);
|
void set_active (bool);
|
||||||
bool get_active () { return active_state() != Gtkmm2ext::Off; }
|
bool get_active () const { return active_state() != Gtkmm2ext::Off; }
|
||||||
|
|
||||||
/* widgets can be told to only draw their "foreground, and thus leave
|
/* widgets can be told to only draw their "foreground, and thus leave
|
||||||
in place whatever background is drawn by their parent. the default
|
in place whatever background is drawn by their parent. the default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue