Mercurial > wow > cyborg-mmo7
diff OpenButtonPage.xml @ 5:8428fa7cf0e4
Updated the profile to use macros and rename all the variables and functions with the prefix CyborgMMO. Added a tooltip to inform the user to assign the profile.
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Tue, 29 May 2012 10:26:40 +0000 |
parents | d186f8cd5000 |
children | 6cb9a2936580 |
line wrap: on
line diff
--- a/OpenButtonPage.xml Mon May 28 15:54:52 2012 +0000 +++ b/OpenButtonPage.xml Tue May 29 10:26:40 2012 +0000 @@ -59,7 +59,6 @@ </OnLoad> <OnClick> CyborgMMO_Toggle(); - </OnClick> <OnDragStart> self:StartMoving(); @@ -69,6 +68,12 @@ self:StopMovingOrSizing(); self.isMoving = false; </OnDragStop> + <OnEnter> + CyborgMMO_ShowProfileTooltip(self:GetNormalTexture()) + </OnEnter> + <OnLeave> + CyborgMMO_HideProfileTooltip() + </OnLeave> </Scripts> <NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga"> @@ -169,9 +174,11 @@ if(false == CyborgMMO_IsOpen()) then CyborgMMO_RatQuickPage:Show(); end + CyborgMMO_ShowProfileTooltip(getglobal(self:GetName().."_Icon")) </OnEnter> <OnLeave> - CyborgMMO_RatQuickPage:Hide(); + CyborgMMO_RatQuickPage:Hide() + CyborgMMO_HideProfileTooltip() </OnLeave> <OnUpdate> if(self:IsDragging()) then