Move UIConfiguration Singleton into UIConfiguration header

This removes the direct dependence on ardour_ui.h from 39 files
This commit is contained in:
Tim Mayberry 2015-01-02 21:44:54 +07:00 committed by Paul Davis
parent 45d487f16e
commit 6b019a4953
84 changed files with 726 additions and 712 deletions

View file

@ -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;