Пример #1
0
        internal UIButton(string setText, int releaseButtonResourceIndex, int pressedButtonResourceIndex)
        {
            colText = new UIColorizedText(setText);
            font    = MainGame.DefaultFont;

            isPressed = false;

            AutoSetButtonImage(releaseButtonResourceIndex, pressedButtonResourceIndex);
        }
Пример #2
0
        internal UIButton(string setText, int releaseButtonResourceIndex, int pressedButtonResourceIndex)
        {
            colText = new UIColorizedText(setText);
             font = MainGame.DefaultFont;

             isPressed = false;

             AutoSetButtonImage (releaseButtonResourceIndex, pressedButtonResourceIndex);
        }
Пример #3
0
 internal UILabel(string setText)
 {
     colText = new UIColorizedText(setText);
      font = MainGame.DefaultFont;
      TextAlign = TextAlignHorizontal.Center;
 }
Пример #4
0
 internal UILabel(string setText)
 {
     colText   = new UIColorizedText(setText);
     font      = MainGame.DefaultFont;
     TextAlign = TextAlignHorizontal.Center;
 }