Exemplo n.º 1
0
 /// <summary>
 /// Initialize UI manager (mostly load resources and set some defaults).
 /// </summary>
 /// <param name="contentManager">Content manager.</param>
 /// <param name="theme">Which UI theme to use. This affect the appearance of all textures and effects.</param>
 static public void Initialize(ContentManager contentManager, BuiltinThemes theme)
 {
     Initialize(contentManager, theme.ToString());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize UI manager (mostly load resources and set some defaults).
 /// </summary>
 /// <param name="contentManager">Content manager.</param>
 /// <param name="program">Program name for runtime resources</param>
 /// <param name="theme">Which UI theme to use. This affect the appearance of all textures and effects.</param>
 static public void Initialize(IGameUI igame, ContentManager contentManager, string program, BuiltinThemes theme, GraphicsDeviceManager graphics)
 {
     Initialize(igame, contentManager, program, theme.ToString(), graphics);
 }