コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public HoverTrigger(OverlayPlugin manager, XmlNode node, Rectangle clip)
     : base(manager, node, clip)
 {
     mRenderer = manager.GetRenderer(node, "hover trigger", manager.Renderers[0], "Renderer");
 }
コード例 #4
0
ファイル: HoverTrigger.cs プロジェクト: veyvin/ChimeraClean
 public HoverTrigger(OverlayPlugin manager, XmlNode node, Rectangle clip)
     : base(manager, node, clip)
 {
     mRenderer = manager.GetRenderer(node, "hover trigger", manager.Renderers[0], "Renderer");
 }