public MarkerNode(string What, bool prev) { what = What; previous = prev; color = new EditorHighlightColor(); UpdateNodeText(); panel = new MarkerOptionPanel(this, prev); }
public MarkerNode(XmlElement el, bool prev) { Text = "Marker"; previous = prev; panel = new MarkerOptionPanel(this, prev); if (el == null) return; color = new EditorHighlightColor(el); what = el.InnerText; if (el.Attributes["markmarker"] != null) { markMarker = Boolean.Parse(el.Attributes["markmarker"].InnerText); } UpdateNodeText(); }
public MarkerNode(XmlElement el, bool prev) { Text = "Marker"; previous = prev; panel = new MarkerOptionPanel(this, prev); if (el == null) { return; } color = new EditorHighlightColor(el); what = el.InnerText; if (el.Attributes["markmarker"] != null) { markMarker = Boolean.Parse(el.Attributes["markmarker"].InnerText); } UpdateNodeText(); }