예제 #1
0
 public UILabel( Font font, Vector2 position, float scale = 1.0f )
     : base(new Vector2(), position)
 {
     myFont = font;
     myText = new Text( font, scale );
     Colour = Color4.Black;
     CanResize = false;
     IsEnabled = false;
 }
예제 #2
0
파일: Text.cs 프로젝트: vashage/MarsMiner
 public Text( Font font, float scale = 1.0f )
     : base(font.Texture, scale)
 {
     myText = "";
     myFont = font;
 }
예제 #3
0
 public UILabel( Font font, float scale = 1.0f )
     : this(font, new Vector2(), scale)
 {
 }