public DetailedTimer(LiveSplitState state)
 {
     InternalComponent = new LiveSplit.UI.Components.Timer();
     SegmentTimer = new SegmentTimer();
     Settings = new DetailedTimerSettings()
     {
         CurrentState = state
     };
     IconWidth = 0;
     Cache = new GraphicsCache();
     LabelSegment = new SimpleLabel();
     LabelBest = new SimpleLabel();
     SegmentTime = new SimpleLabel();
     BestSegmentTime = new SimpleLabel();
     SplitName = new SimpleLabel();
     state.ComparisonRenamed += state_ComparisonRenamed;
 }
示例#2
0
 public DetailedTimer(LiveSplitState state)
 {
     InternalComponent = new LiveSplit.UI.Components.Timer();
     SegmentTimer      = new SegmentTimer();
     Settings          = new DetailedTimerSettings()
     {
         CurrentState = state
     };
     IconWidth                = 0;
     Cache                    = new GraphicsCache();
     LabelSegment             = new SimpleLabel();
     LabelBest                = new SimpleLabel();
     SegmentTime              = new SimpleLabel();
     BestSegmentTime          = new SimpleLabel();
     SplitName                = new SimpleLabel();
     state.ComparisonRenamed += state_ComparisonRenamed;
 }