示例#1
0
        protected override void AfterChildenDraw(PPDFramework.Shaders.AlphaBlendContext alphaBlendContext)
        {
            base.AfterChildenDraw(alphaBlendContext);
            switch (focusPanel)
            {
            case FocusPanel.Left:
                Lw.Draw();
                Rb.Draw();
                break;

            case FocusPanel.Right:
                Lb.Draw();
                Rw.Draw();
                break;
            }

            int iter = -leftInfo.Scroll;

            RecursiveDraw(siTreeView.Items, ref iter);
            iter = -rightInfo.Scroll;
            LFRecursiveDraw(lfTreeView.Items, ref iter);

            cm.Draw();
        }
示例#2
0
 protected override bool OnCanDraw(PPDFramework.Shaders.AlphaBlendContext alphaBlendContext, int depth, int childIndex)
 {
     return(OverFocused);
 }
示例#3
0
 protected override bool OnCanDraw(PPDFramework.Shaders.AlphaBlendContext alphaBlendContext, int depth, int childIndex)
 {
     return(songInformation != null);
 }