public UserMarkerRDI(UserMarkerLocation uml, LogView logView) : base(uml.m_path, uml.GetNameForLogView(logView), 1.0f) { DisplayName = uml.m_name; m_uml = uml; m_logView = logView; Unhighlight(); }
public UserMarkerRDI GetIfDisplayed(UserMarkerLocation uml, LogView logView) { UserMarkerRDI umrdi = this; if (!umrdi.Displayed) { return(null); } string[] locations = uml.m_path.PathLocations(); foreach (string location in locations) { umrdi = (UserMarkerRDI)umrdi.m_children[location]; if (!umrdi.Displayed) { return(null); } } umrdi = (UserMarkerRDI)umrdi.m_children[uml.GetNameForLogView(logView)]; return(umrdi.Displayed ? umrdi : null); }