Mercurial > wow > cyborg-mmo7
comparison OpenButtonPage.xml @ 53:4b9e27be9c68
A right click on the minimap icon will open the options.
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Fri, 03 May 2013 23:24:16 +0000 |
parents | 1a29be548897 |
children |
comparison
equal
deleted
inserted
replaced
52:da98db8191f5 | 53:4b9e27be9c68 |
---|---|
119 self:RegisterForDrag("LeftButton", "RightButton") | 119 self:RegisterForDrag("LeftButton", "RightButton") |
120 </OnLoad> | 120 </OnLoad> |
121 <OnMouseDown> | 121 <OnMouseDown> |
122 </OnMouseDown> | 122 </OnMouseDown> |
123 <OnMouseUp> | 123 <OnMouseUp> |
124 CyborgMMO_Toggle() | 124 if button == "RightButton" then |
125 if not CyborgMMO_IsOpen() then | 125 InterfaceOptionsFrame_OpenToCategory(CyborgMMO_OptionPage) |
126 CyborgMMO_RatQuickPage:Show() | 126 else |
127 CyborgMMO_Toggle() | |
128 if not CyborgMMO_IsOpen() then | |
129 CyborgMMO_RatQuickPage:Show() | |
130 end | |
127 end | 131 end |
128 </OnMouseUp> | 132 </OnMouseUp> |
129 <OnEnter> | 133 <OnEnter> |
130 if not CyborgMMO_IsOpen() then | 134 if not CyborgMMO_IsOpen() then |
131 CyborgMMO_RatQuickPage:Show() | 135 CyborgMMO_RatQuickPage:Show() |