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; }
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; }
public UserThemeCommandBase(IAssetLibrary library) { this.Library = (AssetLibrary)library; }
public ResetSystemThemeCommand(IAssetLibrary library) : base(library) { }
public RestoreThemeContentCommand(IAssetLibrary library) : base(library) { }
public SetUserThemeCommand(IAssetLibrary library) : base(library) { }
public GenericControlTool(ToolContext toolContext, ITypeId controlType, ToolCategory category) : base(toolContext, controlType, category) { this.assetLibrary = toolContext.AssetLibrary; }