public CursorRenderer(OverlayPlugin manager, XmlNode node) { ISelectionRenderer renderer = manager.GetRenderer(node, "cursor renderer", null, "InnerRenderer"); mOverlayManager = GetManager(manager, node, "cursor renderer"); Size size = new Size(GetInt(node, 80, "W"), GetInt(node, 80, "H")); Init(size, renderer.DrawHover); }
public HoverTrigger(OverlayPlugin manager, XmlNode node, Rectangle clip) : base(manager, node, clip) { mRenderer = manager.GetRenderer(node, "hover trigger", manager.Renderers[0], "Renderer"); }