diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-15 17:38:28 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-17 21:06:04 +0200 |
commit | 5c926136988757f1f11a14c11720ed3daac3195f (patch) | |
tree | 656b502db734ba104c40d088bc7b042fd6c77ee8 /gtk2_ardour/vca_master_strip.cc | |
parent | d397e1f85cd2dce1fa79b672b40f5ea6a4b971f1 (diff) |
Separate Ardour UI widgets into dedicated library
Diffstat (limited to 'gtk2_ardour/vca_master_strip.cc')
-rw-r--r-- | gtk2_ardour/vca_master_strip.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/vca_master_strip.cc b/gtk2_ardour/vca_master_strip.cc index 4f592334c7..eea92eec45 100644 --- a/gtk2_ardour/vca_master_strip.cc +++ b/gtk2_ardour/vca_master_strip.cc @@ -27,12 +27,12 @@ #include "gtkmm2ext/doi.h" #include "gtkmm2ext/keyboard.h" +#include "widgets/tooltips.h" #include "ardour_dialog.h" #include "floating_text_entry.h" #include "gui_thread.h" #include "mixer_ui.h" -#include "tooltips.h" #include "ui_config.h" #include "utils.h" #include "vca_master_strip.h" @@ -40,7 +40,7 @@ #include "pbd/i18n.h" using namespace ARDOUR; -using namespace ARDOUR_UI_UTILS; +using namespace ArdourWidgets; using namespace Gtkmm2ext; using namespace Gtk; using namespace PBD; @@ -59,7 +59,7 @@ VCAMasterStrip::VCAMasterStrip (Session* s, boost::shared_ptr<VCA> v) /* set color for the VCA, if not already done. */ if (!_vca->presentation_info().color_set()) { - _vca->presentation_info().set_color (gdk_color_to_rgba (unique_random_color())); + _vca->presentation_info().set_color (ARDOUR_UI_UTILS::gdk_color_to_rgba (unique_random_color())); } control_slave_ui.set_stripable (boost::dynamic_pointer_cast<Stripable> (v)); @@ -521,7 +521,7 @@ VCAMasterStrip::drop_all_slaves () Gdk::Color VCAMasterStrip::color () const { - return gdk_color_from_rgba (_vca->presentation_info().color ()); + return ARDOUR_UI_UTILS::gdk_color_from_rgba (_vca->presentation_info().color ()); } string |