--[[
    MediaPaths.lua
    Helper module for easy access to Cerebro's custom media assets.
    
    Usage:
        local path = Cerebro.Media.GetPath("MinimapButton")
        texture:SetTexture(path)
]]

local AddonName, Namespace = ...
local Cerebro = Namespace.Cerebro or LibStub("AceAddon-3.0"):GetAddon("Cerebro")

-- Media path constants
local MEDIA_PATH = "Interface\\AddOns\\" .. AddonName .. "\\Media\\"

-- Expose media helper on addon namespace
Cerebro.Media = Cerebro.Media or {}

---Get the full path to a media file
---@param filename string The filename without extension (e.g., "MinimapButton")
---@return string path Full interface path for SetTexture()
function Cerebro.Media.GetPath(filename)
    return MEDIA_PATH .. filename
end

-- Pre-defined media constants for commonly used assets
Cerebro.Media.MINIMAP_BUTTON = MEDIA_PATH .. "MinimapButton"

-- Example textures (add more as needed)
-- Cerebro.Media.LOGO = MEDIA_PATH .. "CerebroLogo"
-- Cerebro.Media.ICON_EP = MEDIA_PATH .. "IconEP"
-- Cerebro.Media.ICON_GP = MEDIA_PATH .. "IconGP"
