Skip to content

Commit

Permalink
Windows: Implemented Effects view.
Browse files Browse the repository at this point in the history
Related to issue #422.
  • Loading branch information
ycastonguay committed Aug 19, 2013
1 parent ff2041d commit 35d2767
Show file tree
Hide file tree
Showing 11 changed files with 891 additions and 1,021 deletions.
8 changes: 8 additions & 0 deletions MPfm/MPfm.MVP/Navigation/NavigationManager.cs
Expand Up @@ -42,6 +42,8 @@ public abstract class NavigationManager
ISongBrowserPresenter _songBrowserPresenter;
IMarkersPresenter _markersPresenter;
ILoopsPresenter _loopsPresenter;
ITimeShiftingPresenter _timeShiftingPresenter;
IPitchShiftingPresenter _pitchShiftingPresenter;

IDesktopPreferencesView _preferencesView;
IAudioPreferencesPresenter _audioPreferencesPresenter;
Expand Down Expand Up @@ -104,6 +106,10 @@ public virtual IMainView CreateMainView()
_markersPresenter.BindView((IMarkersView)view);
_loopsPresenter = Bootstrapper.GetContainer().Resolve<ILoopsPresenter>();
_loopsPresenter.BindView((ILoopsView)view);
_timeShiftingPresenter = Bootstrapper.GetContainer().Resolve<ITimeShiftingPresenter>();
_timeShiftingPresenter.BindView((ITimeShiftingView)view);
_pitchShiftingPresenter = Bootstrapper.GetContainer().Resolve<IPitchShiftingPresenter>();
_pitchShiftingPresenter.BindView((IPitchShiftingView)view);
};
_mainView = Bootstrapper.GetContainer().Resolve<IMainView>(new NamedParameterOverloads() { { "onViewReady", onViewReady } });
_mainView.OnViewDestroy = (view) => {
Expand All @@ -115,6 +121,8 @@ public virtual IMainView CreateMainView()
_songBrowserPresenter = null;
_markersPresenter = null;
_loopsPresenter = null;
_timeShiftingPresenter = null;
_pitchShiftingPresenter = null;
};
return _mainView;
}
Expand Down

0 comments on commit 35d2767

Please sign in to comment.