diff options
Diffstat (limited to 'gtk2_ardour/ui_config.h')
-rw-r--r-- | gtk2_ardour/ui_config.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index 9021fbc60e..49cf27c93a 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -133,13 +133,8 @@ class UIConfiguration : public PBD::Stateful #include "base_colors.h" #undef CANVAS_BASE_COLOR -#undef CANVAS_COLOR -#define CANVAS_COLOR(var,name,base,modifier) ArdourCanvas::Color get_##var() const { return var.get().color(); } -#include "colors.h" -#undef CANVAS_COLOR - #undef COLOR_ALIAS -#define COLOR_ALIAS(var,name,alias) ArdourCanvas::Color get_##var() const { return color (alias); } +#define COLOR_ALIAS(var,name,alias) ArdourCanvas::Color get_##var() const { return color (name); } #include "color_aliases.h" #undef COLOR_ALIAS @@ -184,13 +179,6 @@ class UIConfiguration : public PBD::Stateful #include "base_colors.h" #undef CANVAS_BASE_COLOR - /* declare relative color variables (not directly modifiable) */ - -#undef CANVAS_COLOR -#define CANVAS_COLOR(var,name,base,modifier) RelativeHSV var; -#include "colors.h" -#undef CANVAS_COLOR - XMLNode& state (); bool _dirty; static UIConfiguration* _instance; |