示例#1
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     base.Draw(spriteBatch);
     ButtonUp.Draw(spriteBatch);
     ButtonRight.Draw(spriteBatch);
     ButtonDown.Draw(spriteBatch);
     ButtonLeft.Draw(spriteBatch);
     ButtonChange.Draw(spriteBatch);
 }
示例#2
0
        // =====================================

        #endregion

        #region Draw

        public override void DrawCore(IRenderer Renderer)
        {
            Background.Draw(Renderer);
            ButtonUp.Draw(Renderer);
            ButtonDown.Draw(Renderer);
            if (GetScrollAreaSize() > 1)
            {
                Thumb.Draw(Renderer);
            }
        }