mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
move color utility functions from ARDOUR_UI_UTILS to Gtkmm2ext namespace (GUI)
This commit is contained in:
parent
a2e4897a49
commit
9ea1e5bdee
23 changed files with 62 additions and 118 deletions
|
|
@ -59,6 +59,7 @@
|
|||
#include "ardour/solo_mute_release.h"
|
||||
#include "ardour/template_utils.h"
|
||||
|
||||
#include "gtkmm2ext/colors.h"
|
||||
#include "gtkmm2ext/gtk_ui.h"
|
||||
#include "gtkmm2ext/doi.h"
|
||||
#include "gtkmm2ext/gtk_ui.h"
|
||||
|
|
@ -88,7 +89,6 @@
|
|||
#include "save_template_dialog.h"
|
||||
#include "timers.h"
|
||||
#include "ui_config.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
|
||||
|
|
@ -2239,9 +2239,9 @@ RouteUI::route_color () const
|
|||
string p;
|
||||
|
||||
if (g && g->is_color()) {
|
||||
set_color_from_rgba (c, GroupTabs::group_color (g));
|
||||
Gtkmm2ext::set_color_from_rgba (c, GroupTabs::group_color (g));
|
||||
} else {
|
||||
set_color_from_rgba (c, _route->presentation_info().color());
|
||||
Gtkmm2ext::set_color_from_rgba (c, _route->presentation_info().color());
|
||||
}
|
||||
|
||||
return c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue