Ejemplo n.º 1
0
 public override void draw(SpriteBatch b)
 {
     Draw(b);
     if (_currentRow < _maxRow)
     {
         DownArrow.draw(b);
     }
     if (_currentRow > 0)
     {
         UpArrow.draw(b);
     }
     drawMouse(b);
 }
Ejemplo n.º 2
0
        public void draw(SpriteBatch sprite_batch)
        {
            Vector2 int_offset = new Vector2((int)Offset.X, (int)Offset.Y);

            sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
            Black_Fill.draw(sprite_batch);
            sprite_batch.End();

            //sprite_batch.Begin(SpriteSortMode.Texture, BlendState.AlphaBlend); //@Debug
            sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
            if (PanTimer > 0 || (Fading_In ? FadeTimer == 0 : Active))
            {
                for (int i = 0; i <= Index; i++)
                {
                    Text[i].draw_multicolored(sprite_batch, int_offset);
                }

                UpArrow.draw(sprite_batch);
                DownArrow.draw(sprite_batch);
            }
            sprite_batch.End();
        }