Ejemplo n.º 1
0
 public UIBigButton(bool green) : base()
 {
     CaptionStyle               = CaptionStyle.Clone();
     CaptionStyle.Size          = 37;
     CaptionStyle.Color         = (green)?UIStyle.Current.GreenBtnTxt:UIStyle.Current.BtnTxt;
     CaptionStyle.DisabledColor = UIStyle.Current.BtnDisable;
     Texture = Content.Get().CustomUI.Get(green ? "greenbutton.png" : "button.png").Get(GameFacade.GraphicsDevice);
 }
Ejemplo n.º 2
0
 public void NewStyle(Color color, int size)
 {
     CaptionStyle       = CaptionStyle.Clone();
     CaptionStyle.Color = color;
     CaptionStyle.Size  = size;
 }