MCP: check on whether we using pan width control; flip mode may change display

git-svn-id: svn://localhost/ardour2/branches/3.0@11931 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-12 00:52:02 +00:00
parent ac284a4ea1
commit 5b34da2f96
2 changed files with 9 additions and 0 deletions

View file

@ -658,6 +658,14 @@ Surface::timecode_display (const std::string & timecode, const std::string & las
return retval;
}
void
Surface::update_flip_mode_display ()
{
for (Strips::iterator s = strips.begin(); s != strips.end(); ++s) {
(*s)->notify_all ();
}
}
void
Surface::update_view_mode_display ()
{

View file

@ -142,6 +142,7 @@ public:
MidiByteArray timecode_display (const std::string & timecode, const std::string & last_timecode = "");
void update_view_mode_display ();
void update_flip_mode_display ();
protected:
void init_controls();