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