using System.Data;

namespace Pinta.Core;

internal static class SettingNames
{
	internal const string DEFAULT_IMAGE_TYPE = "default-image-type";

	internal const string JPG_QUALITY = "jpg-quality";

	internal const string SELECTION_COMBINE_MODE = "selection-combine-mode";

	internal const string SHOW_CANVAS_GRID = "show-canvas-grid";
	internal const string CANVAS_GRID_WIDTH = "canvas-grid-width";
	internal const string CANVAS_GRID_HEIGHT = "canvas-grid-height";

	internal const string SHOW_CANVAS_AXONOMETRIC_GRID = "show-canvas-axonometric-grid";
	internal const string CANVAS_AXONOMETRIC_WIDTH = "canvas-axonometric-grid-width";

	internal const string PRIMARY_COLOR = "primary-color";
	internal const string SECONDARY_COLOR = "secondary-color";
	internal const string RECENT_COLORS = "recently-used-colors";

	internal static string ToolAntialias (BaseTool tool)
	{
		return $"{tool.GetType ().Name.ToLowerInvariant ()}-antialias";
	}

	internal static string ToolAlphaBlend (BaseTool tool)
	{
		return $"{tool.GetType ().Name.ToLowerInvariant ()}-alpha-blend";
	}
}
