Exemplo n.º 1
0
        internal UIButton(string setText, int releaseButtonResourceIndex, int pressedButtonResourceIndex)
        {
            colText = new UIColorizedText(setText);
            font    = MainGame.DefaultFont;

            isPressed = false;

            AutoSetButtonImage(releaseButtonResourceIndex, pressedButtonResourceIndex);
        }
Exemplo n.º 2
0
        internal UIButton(string setText, int releaseButtonResourceIndex, int pressedButtonResourceIndex)
        {
            colText = new UIColorizedText(setText);
             font = MainGame.DefaultFont;

             isPressed = false;

             AutoSetButtonImage (releaseButtonResourceIndex, pressedButtonResourceIndex);
        }
Exemplo n.º 3
0
 internal UILabel(string setText)
 {
     colText = new UIColorizedText(setText);
      font = MainGame.DefaultFont;
      TextAlign = TextAlignHorizontal.Center;
 }
Exemplo n.º 4
0
 internal UILabel(string setText)
 {
     colText   = new UIColorizedText(setText);
     font      = MainGame.DefaultFont;
     TextAlign = TextAlignHorizontal.Center;
 }