Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
The label text is changed at the end of the "SetTickerMode" function:
var text = GetModeDisplayText(TimingDisplayProvider.CurrentModeV);
TimingDisplayProvider.GetModeLabel(item.Theme).Text = text;


private string GetModeDisplayText(TimingDisplayModes mode)
        {
            switch (mode)
            {
                case TimingDisplayModes.Gap:
                    return "GAP";
                case TimingDisplayModes.Interval:
                    return "INTERVAL";
                case TimingDisplayModes.Pitstops:
                    return "PITSTOPS";
              case TimingDisplayModes.LastLap:
                    return "LAST LAP";
                case TimingDisplayModes.BestLap:
                    return "BEST LAP";
                case TimingDisplayModes.JokerLapsRemaining:
                    return "JOKER LAPS REMAINING";
                case TimingDisplayModes.JokerLapsCompleted:
                    return "JOKER LAPS COMPLETED";
            }
return "";
        }