From 137425faf1420e41231a11438c08efca3be40284 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 20 Nov 2014 14:01:12 -0500 Subject: continue tweaks on the color road --- gtk2_ardour/ui_config.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/ui_config.h') diff --git a/gtk2_ardour/ui_config.h b/gtk2_ardour/ui_config.h index 0754425c27..a89918d58d 100644 --- a/gtk2_ardour/ui_config.h +++ b/gtk2_ardour/ui_config.h @@ -85,7 +85,7 @@ class UIConfiguration : public PBD::Stateful static UIConfiguration* instance() { return _instance; } - std::map *> configurable_colors; + std::map *> configurable_colors; bool dirty () const; void set_dirty (); @@ -175,7 +175,7 @@ class UIConfiguration : public PBD::Stateful /* declare base color variables (these are modifiable by the user) */ #undef CANVAS_BASE_COLOR -#define CANVAS_BASE_COLOR(var,name,val) ColorVariable var; +#define CANVAS_BASE_COLOR(var,name,val) ColorVariable var; #include "base_colors.h" #undef CANVAS_BASE_COLOR @@ -193,7 +193,8 @@ class UIConfiguration : public PBD::Stateful void color_compute (); void print_relative_def (std::string camelcase, std::string name, ArdourCanvas::Color c); void color_theme_changed (); - void original_colors (); + void regenerate_relative_definitions (); + ArdourCanvas::Color quantized (ArdourCanvas::Color); }; #endif /* __ardour_ui_configuration_h__ */ -- cgit v1.2.3