public void Apply(TimerWindow window, Duration remainingTime) { if (window == null) { return; } window.UpdateTitle("Pomodoro Completed"); window.UpdateColorScheme(TimerWindow.DarkGray); window.UpdateTimeDisplay(Duration.Zero.ToTimeString()); window.SetTimerAction($"Start {pomodoroEngine.SuggestedBreakType.GetName()}", StartTimer); }
public void Apply(TimerWindow window, Duration remainingTime) { if (window == null) { return; } window.UpdateTitle(title); window.UpdateColorScheme(TimerWindow.DarkGray); window.UpdateTimeDisplay(remainingTime.ToTimeString()); window.SetTimerAction("Start Pomodoro", StartTimer); }
public void Apply(TimerWindow window, Duration remainingTime) { if (window == null) { return; } window.UpdateTitle("Long Break"); window.UpdateColorScheme(TimerWindow.Blue); window.UpdateTimeDisplay(remainingTime.ToTimeString()); window.SetTimerAction("Interrupt", pomodoroEngine.StopTimer); }