diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-01-02 21:44:54 +0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-16 16:55:17 -0400 |
commit | 6b019a495359909a3d1a778ca10cd7df7cc302cc (patch) | |
tree | 75746a1e4a3daecd8c9cd0996b3c63d7d1657be4 /gtk2_ardour/generic_pluginui.cc | |
parent | 45d487f16e8be102bfcdefcd950a69c886495b94 (diff) |
Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
Diffstat (limited to 'gtk2_ardour/generic_pluginui.cc')
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index 69a8f0b2a5..8abefa7fc8 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -49,6 +49,7 @@ #include "gui_thread.h" #include "automation_controller.h" #include "timers.h" +#include "ui_config.h" #include "i18n.h" @@ -763,8 +764,8 @@ GenericPluginUI::build_control_ui (const Evoral::Parameter& param, 0xcccc00ff, 0xcccc00ff, 0xffaa00ff, 0xffaa00ff, 0xff0000ff, - ARDOUR_UI::config()->color ("meter background bottom"), - ARDOUR_UI::config()->color ("meter background top") + UIConfiguration::instance().color ("meter background bottom"), + UIConfiguration::instance().color ("meter background top") ); info->min_unbound = desc.min_unbound; |