Esempio n. 1
0
 public virtual int GetWidth(MenuScreen screen)
 {
     return((int)screen.ScreenManager.Font.MeasureString(Text).X);
 }
Esempio n. 2
0
 public virtual int GetHeight(MenuScreen screen)
 {
     return(screen.ScreenManager.Font.LineSpacing);
 }