/// <summary>Function to provide initialization for the plugin.</summary> /// <remarks>This method is only called when the plugin is loaded at startup.</remarks> protected override void OnInitialize() { _defaultImageCodec = new GorgonCodecDds(); _button = new ToolPlugInRibbonButton(Resources.GOREST_TEXT_BUTTON, Resources.extract_grid_48x48, Resources.extract_grid_16x16, Resources.GOREST_GROUP_BUTTON) { Description = Resources.GOREST_DESC_BUTTON }; _button.ValidateButton(); }
/// <summary>Function to provide initialization for the plugin.</summary> /// <remarks>This method is only called when the plugin is loaded at startup.</remarks> protected override void OnInitialize() { _defaultImageCodec = new GorgonCodecDds(); _defaultSpriteCodec = new GorgonV3SpriteBinaryCodec(GraphicsContext.Renderer2D); _button = new ToolPlugInRibbonButton(Resources.GORTAG_TEXT_BUTTON, Resources.texture_atlas_48x48, Resources.texture_atlas_16x16, Resources.GORTAG_GROUP_BUTTON) { Description = Resources.GORTAG_DESC_BUTTON }; _button.ValidateButton(); }