Exemple #1
0
 public DeltaComponent(LiveSplitState state)
 {
     Settings = new DeltaSettings()
     {
         CurrentState = state
     };
     Formatter                = new DeltaComponentFormatter(Settings.Accuracy, Settings.DropDecimals);
     InternalComponent        = new InfoTimeComponent(null, null, Formatter);
     state.ComparisonRenamed += state_ComparisonRenamed;
 }
 public DeltaComponent(LiveSplitState state)
 {
     Settings = new DeltaSettings()
     {
         CurrentState = state
     };
     Formatter = new DeltaComponentFormatter(Settings.Accuracy, Settings.DropDecimals);
     InternalComponent = new InfoTimeComponent(null, null, Formatter);
     state.ComparisonRenamed += state_ComparisonRenamed;
 }
 public EmbeddedLayoutComponent(LiveSplitState state)
 {
     Settings = new DeltaSettings()
     {
         CurrentState = state
     };
     InternalComponent = new ComponentRendererComponent();
     InternalComponent.VisibleComponents = new List <IComponent>()
     {
         new RunPrediction(state), new GraphCompositeComponent(state)
     };
 }