summaryrefslogtreecommitdiff
path: root/gtk2_ardour/theme_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-13 10:54:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-13 12:22:39 -0400
commita50569e7870bed622537aeb137501e82e3d57e61 (patch)
tree7506019cb11c267d5429a04581369b445e9ddd54 /gtk2_ardour/theme_manager.cc
parentf2404a522d3914948caa357da792d8f84cec8456 (diff)
rename UIConfigVariable as ColorVariable since that is really it should be used for; use ARDOUR::ConfigVariable for everything else in UI config
Diffstat (limited to 'gtk2_ardour/theme_manager.cc')
-rw-r--r--gtk2_ardour/theme_manager.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/theme_manager.cc b/gtk2_ardour/theme_manager.cc
index 454a5da67c..8e59ac25ee 100644
--- a/gtk2_ardour/theme_manager.cc
+++ b/gtk2_ardour/theme_manager.cc
@@ -197,7 +197,7 @@ ThemeManager::button_press_event (GdkEventButton* ev)
int cellx;
int celly;
- UIConfigVariable<uint32_t> *ccvar;
+ ColorVariable<uint32_t> *ccvar;
if (!color_display.get_path_at_pos ((int)ev->x, (int)ev->y, path, column, cellx, celly)) {
return false;
@@ -211,7 +211,7 @@ ThemeManager::button_press_event (GdkEventButton* ev)
case 1: /* color */
if ((iter = color_list->get_iter (path))) {
- UIConfigVariable<uint32_t>* var = (*iter)[columns.pVar];
+ ColorVariable<uint32_t>* var = (*iter)[columns.pVar];
if (!var) {
/* parent row, do nothing */
return false;
@@ -392,10 +392,10 @@ ThemeManager::setup_theme ()
color_list->clear();
- for (std::map<std::string,UIConfigVariable<uint32_t> *>::iterator i = ARDOUR_UI::config()->canvas_colors.begin(); i != ARDOUR_UI::config()->canvas_colors.end(); i++) {
+ for (std::map<std::string,ColorVariable<uint32_t> *>::iterator i = ARDOUR_UI::config()->canvas_colors.begin(); i != ARDOUR_UI::config()->canvas_colors.end(); i++) {
- UIConfigVariable<uint32_t>* var = i->second;
+ ColorVariable<uint32_t>* var = i->second;
TreeModel::Children rows = color_list->children();
TreeModel::Row row;