diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-06-21 17:15:56 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-06-21 17:15:56 -0400 |
commit | 11becd4a6b3ac337221fa35ed922d50a4ff00dd5 (patch) | |
tree | 81687db42f2e2d51221db4b9b662d94d6a8f29aa /gtk2_ardour/ui_config.cc | |
parent | 1b73ab206580048eff74e4f3a2f0527142b54d7d (diff) |
properly restore newer (cairo-canvas related) UI config parameters
Diffstat (limited to 'gtk2_ardour/ui_config.cc')
-rw-r--r-- | gtk2_ardour/ui_config.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc index 86f03bbd95..7cb1953390 100644 --- a/gtk2_ardour/ui_config.cc +++ b/gtk2_ardour/ui_config.cc @@ -59,6 +59,15 @@ UIConfiguration::~UIConfiguration () { } +void +UIConfiguration::map_parameters (boost::function<void (std::string)>& functor) +{ +#undef UI_CONFIG_VARIABLE +#define UI_CONFIG_VARIABLE(Type,var,Name,value) functor (Name); +#include "ui_config_vars.h" +#undef UI_CONFIG_VARIABLE +} + int UIConfiguration::load_defaults () { |