예제 #1
0
 public Panel(PanelProps panelProps) : base(panelProps)
 {
     p_BackGroundTexture = panelProps.Backgroundtexture != null ? panelProps.Backgroundtexture : new Sprite(ContentLoader.GetTextureByName("tan_pressed"));
 }
예제 #2
0
 public SpriteFont GetCurrentFont()
 {
     return(ContentLoader.GetFontByName("BitStreamRoman"));
 }