public GraphComponent (GraphSettings settings) { GraphEdgeValue = new TimeSpan(0, 0, 0, 0, 200); GraphEdgeMin = 5; Settings = settings; Cache = new GraphicsCache(); Deltas = new List<TimeSpan?>(); FinalSplit = TimeSpan.Zero; MaxDelta = TimeSpan.Zero; MinDelta = TimeSpan.Zero; }
public GraphCompositeComponent(LiveSplitState state) { Settings = new GraphSettings() { CurrentState = state }; InternalComponent = new ComponentRendererComponent(); var components = new List<IComponent>(); components.Add(new GraphSeparatorComponent(Settings) { LockToBottom = true }); components.Add(new GraphComponent(Settings)); components.Add(new GraphSeparatorComponent(Settings) { LockToBottom = false }); InternalComponent.VisibleComponents = components; state.ComparisonRenamed += state_ComparisonRenamed; }
public GraphSeparatorComponent(GraphSettings settings) { Line = new LineComponent(1, Color.White); Settings = settings; Cache = new GraphicsCache(); }
public GraphSeparatorComponent(GraphSettings settings) { Line = new LineComponent(1, Color.White); Settings = settings; Cache = new GraphicsCache(); }