local ALName, ALPrivate         = ...

-- ##############################
-- Global
-- ##############################

-- PreSet ID's for special itemtable options

--- Ignore this item while filter is enabled
-- ATLASLOOT_IT_FILTERIGNORE = true
ATLASLOOT_IT_FILTERIGNORE       = 900

--- Setup the item for a faction
-- ATLASLOOT_IT_HORDE = true		<- this is a Horde only item (shown in lootpage but with horde background you can hide the item if you set ATLASLOOT_IT_ALLIANCE = false( example { 1, 1234, [ATLASLOOT_IT_HORDE] = true } )
-- ATLASLOOT_IT_HORDE = 1234		<- the Horde version of this item is 1234 ( example { 1, [ATLASLOOT_IT_HORDE] = 1234, [ATLASLOOT_IT_ALLIANCE] = 5678 }
ATLASLOOT_IT_HORDE              = 901
ATLASLOOT_IT_ALLIANCE           = 902

--- Ads a item amount
ATLASLOOT_IT_AMOUNT1            = 903 -- item1
ATLASLOOT_IT_AMOUNT2            = 904 -- item2

-- Colors
ATLASLOOT_COLLECTION_COLOR      = { 0.3, 0.3, 0, 1 }
ATLASLOOT_DUNGEON_COLOR         = { 0, 0, 0.3, 1 }
ATLASLOOT_FACTION_COLOR         = { 0, 0.3, 0, 1 }
ATLASLOOT_PERMRECEVENTS_COLOR   = { 0.2, 0, 0.4, 1 }
ATLASLOOT_PRIMPROFESSION_COLOR  = { 0.35, 0.15, 0.2, 1 }
ATLASLOOT_PVP_COLOR             = { 0, 0.36, 0.24, 1 }
ATLASLOOT_RAID_COLOR            = { 0.3, 0, 0, 1 }
ATLASLOOT_REMOVED_COLOR         = { 0.4, 0.2, 0, 1 }
ATLASLOOT_SEASONALEVENTS_COLOR  = { 0.36, 0, 0.24, 1 }
ATLASLOOT_SECPROFESSION_COLOR   = { 0.5, 0.1, 0, 1 }
ATLASLOOT_UNKNOWN_COLOR         = { 0, 0, 0, 1 }

ATLASLOOT_ITEM_BACKGROUND_ALPHA = 0.9

ATLASLOOT_DEATHKNIGHT_COLOR     = "|c"..RAID_CLASS_COLORS["DEATHKNIGHT"].colorStr
ATLASLOOT_DEMONHUNTER_COLOR     = "|c"..RAID_CLASS_COLORS["DEMONHUNTER"].colorStr
ATLASLOOT_DRUID_COLOR           = "|c"..RAID_CLASS_COLORS["DRUID"].colorStr
ATLASLOOT_EVOKER_COLOR          = "|c"..RAID_CLASS_COLORS["EVOKER"].colorStr
ATLASLOOT_HUNTER_COLOR          = "|c"..RAID_CLASS_COLORS["HUNTER"].colorStr
ATLASLOOT_MAGE_COLOR            = "|c"..RAID_CLASS_COLORS["MAGE"].colorStr
ATLASLOOT_MONK_COLOR            = "|c"..RAID_CLASS_COLORS["MONK"].colorStr
ATLASLOOT_PALADIN_COLOR         = "|c"..RAID_CLASS_COLORS["PALADIN"].colorStr
ATLASLOOT_PRIEST_COLOR          = "|c"..RAID_CLASS_COLORS["PRIEST"].colorStr
ATLASLOOT_ROGUE_COLOR           = "|c"..RAID_CLASS_COLORS["ROGUE"].colorStr
ATLASLOOT_SHAMAN_COLOR          = "|c"..RAID_CLASS_COLORS["SHAMAN"].colorStr
ATLASLOOT_WARLOCK_COLOR         = "|c"..RAID_CLASS_COLORS["WARLOCK"].colorStr
ATLASLOOT_WARRIOR_COLOR         = "|c"..RAID_CLASS_COLORS["WARRIOR"].colorStr

-- ##############################
-- AtlasLoot Private things
-- ##############################

-- Account specific
ALPrivate.ACCOUNT_LOCALE        = GetLocale()

-- Image path
ALPrivate.IMAGE_PATH            = "Interface\\AddOns\\"..ALName.."\\Images\\"
local ICONS_PATH                = ALPrivate.IMAGE_PATH.."Icons\\"
ALPrivate.ICONS_PATH            = ICONS_PATH

-- Mostly used in selection template
ALPrivate.COIN_TEXTURE          = {
	GOLD       = "Interface\\MoneyFrame\\UI-GoldIcon",
	SILVER     = "Interface\\MoneyFrame\\UI-SilverIcon",
	AC         = "Interface\\AchievementFrame\\UI-Achievement-TinyShield",
	REPUTATION = "Interface\\Icons\\Achievement_Reputation_08",
}

-- Simple backdrop for SetBackdrop
ALPrivate.BOX_BACKDROP          = { bgFile = "Interface/Tooltips/UI-Tooltip-Background" }
-- backdrop with border
ALPrivate.BOX_BORDER_BACKDROP   = {
	bgFile = "Interface/Tooltips/UI-Tooltip-Background",
	edgeFile = "Interface/Tooltips/UI-Tooltip-Border",
	tile = true,
	tileSize = 16,
	edgeSize = 16,
	insets = { left = 4, right = 4, top = 4, bottom = 4 },
}
