コード例 #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;
 }