API:HighLight

function HighLight(ID) local b1, b2 ; b1 = getglobal("ChatFrameChannelChangeButton"..ID.."Highlight_"); b2 = getglobal("ChatFrameChannelChangeButton"..ID.."Highlight2_"); local b3 = getglobal("ChatFrameChannelChangeButton"..ID.."MainHighlight");

if( g_ChannelChangeConfig.HighLight == nil )then g_ChannelChangeConfig.HighLight = true; end if(g_ChannelChangeConfig.HighLight_Persist) then b1:Show; b2:Show; b3:Show; elseif(g_ChannelChangeConfig.HighLight) then b1:Show; b2:Show; b3:Show; b1.playCount = 0; b1.alphaValue = 0.2; b1.state = nil; else b1:Hide; b2:Hide; b3:Hide; end end

i don't know what's this function for, but if you want highlight your button like buttons on mini-map follow next sample:

put this piece of code into your button in xml file before  section, to highlight button just show "any_name_you_want" frame by any_name_you_want:Show and it would make round highlight on button