Esempio n. 1
0
 public AssetPopup(IAssetLibrary library, IConfigurationObject configuration)
     : base((ContentControl) new AssetPopupContent(), configuration, "AssetPopup", AssetPopup.AssetPopupDefaultSize)
 {
     this.ContentControl.DataContext = (object)library;
     this.ContentControl.Focusable   = false;
     this.RedirectFocusOnOpen        = false;
 }
Esempio n. 2
0
 public static void Setup(IAssetLibrary assetLibrary, GameSpecification specification, GraphicsDeviceManager graphics, string devContentPath)
 {
     SoundEffectPlayer = new SoundEffectPlayer(specification.settings);
     Assets            = assetLibrary;
     FileSystem        = new MachinaFileSystem(specification.gameTitle, devContentPath);
     Graphics          = graphics;
 }
Esempio n. 3
0
 public UserThemeCommandBase(IAssetLibrary library)
 {
     this.Library = (AssetLibrary)library;
 }
Esempio n. 4
0
 public ResetSystemThemeCommand(IAssetLibrary library)
     : base(library)
 {
 }
 public RestoreThemeContentCommand(IAssetLibrary library)
     : base(library)
 {
 }
Esempio n. 6
0
 public SetUserThemeCommand(IAssetLibrary library)
     : base(library)
 {
 }
Esempio n. 7
0
 public GenericControlTool(ToolContext toolContext, ITypeId controlType, ToolCategory category)
     : base(toolContext, controlType, category)
 {
     this.assetLibrary = toolContext.AssetLibrary;
 }