Esempio n. 1
0
 /// Draw
 public override void Draw(SpriteBatch Foreground)
 {
     Foreground.Draw(componentTexture, componentRectangle, componentColor[mouseHover ? 1 : 0] * opacity);
     if (answerText != "")
     {
         label.Draw(Foreground);
     }
 }
Esempio n. 2
0
 /// Draw
 public override void Draw(SpriteBatch ForegroundLayer)
 {
     if (isWorking)
     {
         ForegroundLayer.Draw(componentTexture, componentRectangle, componentColor[mouseHover ? 1 : 0] * opacity);
         label.Draw(ForegroundLayer);
     }
 }
Esempio n. 3
0
 /// Draw
 public void Draw(SpriteBatch BackgroundLayer, SpriteBatch MediumLayer)
 {
     foreach (HButton b in buttons)
     {
         b.Draw(BackgroundLayer, MediumLayer);
     }
     label.Draw(BackgroundLayer);
 }