diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-05 09:25:34 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-05 09:25:34 -0500 |
commit | dd49a249ad945b78a72178b8653b349fa3db51f6 (patch) | |
tree | 5826afafa67ea91126e5bd1b35818a6a2ddada7a /gtk2_ardour/ui_config.h | |
parent | 2449fc9681ba62eda3f3a42904a3691fe022954d (diff) |
remove CANVAS_STRING_VARIABLE (it was replaced by CANVAS_FONT_VARIABLE
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index 294c6a36b9..881ed3b0fd 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -140,15 +140,10 @@ class UIConfiguration : public PBD::Stateful bool set_##var (Type val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; } #include "ui_config_vars.h" #undef UI_CONFIG_VARIABLE -#undef CANVAS_STRING_VARIABLE -#define CANVAS_STRING_VARIABLE(var,name) \ - std::string get_##var () const { return var.get(); } \ - bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; } #define CANVAS_FONT_VARIABLE(var,name) \ Pango::FontDescription get_##var () const { return ARDOUR_UI_UTILS::sanitized_font (var.get()); } \ bool set_##var (const std::string& val) { bool ret = var.set (val); if (ret) { ParameterChanged (name); } return ret; } #include "canvas_vars.h" -#undef CANVAS_STRING_VARIABLE #undef CANVAS_FONT_VARIABLE #undef CANVAS_BASE_COLOR @@ -172,10 +167,8 @@ class UIConfiguration : public PBD::Stateful #include "ui_config_vars.h" #undef UI_CONFIG_VARIABLE -#define CANVAS_STRING_VARIABLE(var,name) ARDOUR::ConfigVariable<std::string> var; #define CANVAS_FONT_VARIABLE(var,name) ARDOUR::ConfigVariable<std::string> var; #include "canvas_vars.h" -#undef CANVAS_STRING_VARIABLE #undef CANVAS_FONT_VARIABLE /* declare base color variables (these are modifiable by the user) */ |