예제 #1
0
파일: Label.cs 프로젝트: jaquadro/MonoGdx
 public Label(string text, LabelStyle style)
     : this(new StringSequence(text ?? ""), style)
 {
 }
예제 #2
0
파일: Dialog.cs 프로젝트: jaquadro/MonoGdx
 public void AddText(string text, LabelStyle labelStyle)
 {
     AddText(new Label(text, labelStyle));
 }
예제 #3
0
파일: Label.cs 프로젝트: jaquadro/MonoGdx
 public LabelStyle(LabelStyle style)
 {
     Font = style.Font;
     FontColor = style.FontColor;
     Background = style.Background;
 }
예제 #4
0
파일: Label.cs 프로젝트: jaquadro/MonoGdx
        public Label(CharSequence text, LabelStyle style)
        {
            if (text != null)
                TextSequence = text;

            Style = style;
            Width = PrefWidth;
            Height = PrefHeight;
        }
예제 #5
0
 public void AddText(string text, LabelStyle labelStyle)
 {
     AddText(new Label(text, labelStyle));
 }
예제 #6
0
 public Label(string text, LabelStyle style)
     : this(new StringSequence(text ?? ""), style)
 {
 }
예제 #7
0
 public LabelStyle(LabelStyle style)
 {
     Font       = style.Font;
     FontColor  = style.FontColor;
     Background = style.Background;
 }