summaryrefslogtreecommitdiff
path: root/gtk2_ardour/panner_ui.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2010-04-20 17:27:45 +0000
committerBen Loftis <ben@glw.com>2010-04-20 17:27:45 +0000
commit4894ec8c413c0447ed3fd60ea2fcf3975ee96ceb (patch)
tree1ce393b9c212e1d45a96848bcc0fe5f970e8f511 /gtk2_ardour/panner_ui.cc
parentf2588f6814cff6cd9c7ef3a67c41a0bfdc7e5c7b (diff)
append Auto_ to auto modes so they are more easily searchable
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6941 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/panner_ui.cc')
-rw-r--r--gtk2_ardour/panner_ui.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk2_ardour/panner_ui.cc b/gtk2_ardour/panner_ui.cc
index 1974f72821..d731770374 100644
--- a/gtk2_ardour/panner_ui.cc
+++ b/gtk2_ardour/panner_ui.cc
@@ -175,13 +175,13 @@ PannerUI::build_astate_menu ()
}
pan_astate_menu->items().push_back (MenuElem (_("Manual"),
- bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Off)));
+ bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Auto_Off)));
pan_astate_menu->items().push_back (MenuElem (_("Play"),
- bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Play)));
+ bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Auto_Play)));
pan_astate_menu->items().push_back (MenuElem (_("Write"),
- bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Write)));
+ bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Auto_Write)));
pan_astate_menu->items().push_back (MenuElem (_("Touch"),
- bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Touch)));
+ bind (mem_fun (_io->panner(), &Panner::set_automation_state), (AutoState) Auto_Touch)));
}
@@ -684,7 +684,7 @@ PannerUI::pan_printer (char *buf, uint32_t len, Adjustment* adj)
void
PannerUI::update_pan_sensitive ()
{
- bool sensitive = !(_io->panner().automation_state() & Play);
+ bool sensitive = !(_io->panner().automation_state() & Auto_Play);
switch (_io->n_outputs()) {
case 0:
@@ -786,7 +786,7 @@ PannerUI::pan_automation_state_changed ()
return;
}
- x = (_io->panner().front()->automation().automation_state() != Off);
+ x = (_io->panner().front()->automation().automation_state() != Auto_Off);
if (pan_automation_state_button.get_active() != x) {
ignore_toggle = true;
@@ -823,16 +823,16 @@ PannerUI::_astate_string (AutoState state, bool shrt)
string sstr;
switch (state) {
- case Off:
+ case Auto_Off:
sstr = (shrt ? "M" : _("M"));
break;
- case Play:
+ case Auto_Play:
sstr = (shrt ? "P" : _("P"));
break;
- case Touch:
+ case Auto_Touch:
sstr = (shrt ? "T" : _("T"));
break;
- case Write:
+ case Auto_Write:
sstr = (shrt ? "W" : _("W"));
break;
}
@@ -855,7 +855,7 @@ PannerUI::short_astyle_string (AutoStyle style)
string
PannerUI::_astyle_string (AutoStyle style, bool shrt)
{
- if (style & Trim) {
+ if (style & Auto_Trim) {
return _("Trim");
} else {
/* XXX it might different in different languages */