-- models/Whiskey/Whiskey_Buzzer.lua

Buzzer_Models = Buzzer_Models or {}

Buzzer_Models[2] = {
    name = "WhiskeyBox",
    description = "An advanced law enforcement model made for Whiskey Company.",
    author = "Chattertech",
    version = "W3",
    maxChannels = 1,
    encryption = false,
    sendOverGuild = true,
    breakChance = 0,
    eventChance = 0,
    width = 512,
    height = 512,
    background = "Interface\\AddOns\\Buzzer\\Models\\Whiskey\\Whiskey_Buzzer.blp",
    backgroundLayout = {
        mode = "contain",
        textureWidth = 1024,
        textureHeight = 2048,
    },

    buttons = {
        Common.CreateMuteButton{
            modelKey = 2,
            x = 289,
            y = -190,
            size = 55,
            tooltip = "Mute/Unmute Emotes",
            soundOn = "Interface\\AddOns\\Buzzer\\Media\\bw_on_1.ogg",
            soundOff = "Interface\\AddOns\\Buzzer\\Media\\off.ogg",
            textures = {
                muted = "Interface\\AddOns\\Buzzer\\Media\\Off.blp",
                unmuted = "Interface\\AddOns\\Buzzer\\Media\\On.blp",
                highlight = "Interface\\AddOns\\Buzzer\\Media\\Hover.blp"
            }
        },
        Common.CreateCloseButton{
            x = 340,
            y = -142,
            size = 32,
        },
    },
    -- Renamed to 'dragAreas' and now contains multiple draggable zones
    dragAreas = {
        -- Top bar
        { x = 150, y = -110, width = 220, height = 60 },
        -- Left side panel
        { x = 150, y = -175, width = 120, height = 280 },
        -- Right side panel (avoiding the close button)
        { x = 280, y = -240, width = 100, height = 200 }
    }
}
