public RaceComponent(LiveSplitState state) { Settings = new RaceSettings(); Comparison = new RaceSplit(); InternalComponent = new ComponentRendererComponent(); InternalComponent.VisibleComponents = Components; CurrentState = state; }
public EmbeddedLayoutComponent(LiveSplitState state) { Settings = new DeltaSettings() { CurrentState = state }; InternalComponent = new ComponentRendererComponent(); InternalComponent.VisibleComponents = new List <IComponent>() { new RunPrediction(state), new GraphCompositeComponent(state) }; }
public SplitsComponent(LiveSplitState state) { CurrentState = state; Settings = new SplitsSettings(state); InternalComponent = new ComponentRendererComponent(); ShadowImages = new Dictionary <Image, Image>(); visualSplitCount = Settings.VisualSplitCount; settingsSplitCount = Settings.VisualSplitCount; Settings.SplitLayoutChanged += Settings_SplitLayoutChanged; ScrollOffset = 0; RebuildVisualSplits(); state.ComparisonRenamed += state_ComparisonRenamed; }
public SplitsComponent(LiveSplitState state) { CurrentState = state; Settings = new SplitsSettings(state); InternalComponent = new ComponentRendererComponent(); ShadowImages = new Dictionary<Image, Image>(); visualSplitCount = Settings.VisualSplitCount; settingsSplitCount = Settings.VisualSplitCount; Settings.SplitLayoutChanged += Settings_SplitLayoutChanged; ScrollOffset = 0; RebuildVisualSplits(); state.ComparisonRenamed += state_ComparisonRenamed; }
public AutoCounterComponent(LiveSplitState state) { Settings = new AutoCounterComponentSettings(state); CurrentState = state; Components = new List <IComponent>(); ItemComponents = new List <ItemTrackerComponent>(); InternalComponent = new ComponentRendererComponent(); InternalComponent.VisibleComponents = Components; RebuildComponentList(); Settings.SettingsChanged += Settings_SettingsChanged; }
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 SplitsComponent(LiveSplitState state) { CurrentState = state; Settings = new SplitsSettings(state); InternalComponent = new ComponentRendererComponent(); ShadowImages = new Dictionary <Image, Image>(); visualSplitCount = Settings.VisualSplitCount; Settings.SplitLayoutChanged += Settings_SplitLayoutChanged; ScrollOffset = 0; RebuildVisualSplits(); sectionList = new SectionList(); previousRun = state.Run; sectionList.UpdateSplits(state.Run); }
public SplitsComponent(LiveSplitState state) { Settings = new SplitsSettings() { CurrentState = state }; InternalComponent = new ComponentRendererComponent(); ShadowImages = new Dictionary<Image, Image>(); visualSplitCount = Settings.VisualSplitCount; settingsSplitCount = Settings.VisualSplitCount; Settings.SplitLayoutChanged += Settings_SplitLayoutChanged; ScrollOffset = 0; RebuildVisualSplits(); sectionList = new SectionList(); previousRun = state.Run; sectionList.UpdateSplits(state.Run); }
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; }