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

            isPressed = false;

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

             isPressed = false;

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