Esempio n. 1
0
        public virtual void drawMe(SpriteBatch sBatch)
        {
            if (!_closed)
            {
                m_blankTxr = new Texture2D(sBatch.GraphicsDevice, 1, 1);
                m_blankTxr.SetData(new Color[] { Color.Black });

                sBatch.Draw(m_blankTxr, _menuRect, _Backtint);
                _lblHeader.drawMe(sBatch);
                _lBox.drawMe(sBatch);
            }
        }
Esempio n. 2
0
 public override void drawMe(SpriteBatch sBatch)
 {
     if (!_closed)
     {
         base.drawMe(sBatch);
         _lblList[0].drawMe(sBatch);
         _lblList[1].drawMe(sBatch);
         _lblList[2].drawMe(sBatch);
         _listBox.drawMe(sBatch);
         //foreach (label lbl in _lblList)
         //    lbl.drawMe(sBatch);
     }
 }
Esempio n. 3
0
 private void drawListBoxs(SpriteBatch sBatch)
 {
     listBoxMap.drawMe(sBatch);
     listBoxSession.drawMe(sBatch);
     listBoxMatch.drawMe(sBatch);
 }