>
Rematch.PetListButtonOnLoad(self)
self.Back:SetBlendMode("ADD")
Rematch.PetListButtonOnEnter(self)
self.Back:SetBlendMode("BLEND")
Rematch.PetListButtonOnLeave(self)
if self:HasFocus() then
-- if mouse is down while over an active texture, don't "press" the main button
self.Back:SetBlendMode("BLEND")
end
if GetMouseFocus()==self then
-- if mouse goes up after it left button, don't "unpress" it
self.Back:SetBlendMode("ADD")
end
if self:HasFocus() then
Rematch.PetListButtonOnClick(self,button)
end
if self:HasFocus() then
Rematch.PetListButtonOnDoubleClick(self)
end
Rematch.PetListButtonOnDragStart(self)
Rematch.PetListButtonOnLoad(self)
self.Back:SetBlendMode("ADD")
Rematch.PetListButtonOnEnter(self)
self.Back:SetBlendMode("BLEND")
Rematch.PetListButtonOnLeave(self)
if self:HasFocus() then
-- if mouse is down while over an active texture, don't "press" the main button
self.Back:SetBlendMode("BLEND")
end
if GetMouseFocus()==self then
-- if mouse goes up after it left button, don't "unpress" it
self.Back:SetBlendMode("ADD")
end
if self:HasFocus() then
Rematch.PetListButtonOnClick(self,button)
end
if self:HasFocus() then
Rematch.PetListButtonOnDoubleClick(self)
end
Rematch.PetListButtonOnDragStart(self)
RematchPetPanel.TypeBarButtonOnClick(self)
RematchPetPanel.SearchBoxOnTextChanged(self)
self:ClearFocus()