Mercurial > wow > hansgar_and_franzok_assist
comparison Hansgar_And_Franzok_Assist.lua @ 31:f79f010c4651
- fixed the 'remove border' from the stamper icon.
| author | Tercioo |
|---|---|
| date | Wed, 10 Feb 2016 12:13:11 -0200 |
| parents | d1963bd45219 |
| children | 8368036a4abf |
comparison
equal
deleted
inserted
replaced
| 30:d1963bd45219 | 31:f79f010c4651 |
|---|---|
| 17 local _ | 17 local _ |
| 18 | 18 |
| 19 --local f = CreateFrame ("frame", "Hansgar_And_Franzok_Assist", UIParent) | 19 --local f = CreateFrame ("frame", "Hansgar_And_Franzok_Assist", UIParent) |
| 20 local f = DF:Create1PxPanel (_, 155, 166, "Hans & Franz", "Hansgar_And_Franzok_Assist", nil, "top", true) | 20 local f = DF:Create1PxPanel (_, 155, 166, "Hans & Franz", "Hansgar_And_Franzok_Assist", nil, "top", true) |
| 21 f:SetFrameStrata ("DIALOG") | 21 f:SetFrameStrata ("DIALOG") |
| 22 f.version = "v0.16c" | 22 f.version = "v0.16d" |
| 23 | 23 |
| 24 f.Close:SetScript ("OnClick", function (self) | 24 f.Close:SetScript ("OnClick", function (self) |
| 25 if (f.StampersPhase) then | 25 if (f.StampersPhase) then |
| 26 return f:StopTracking() | 26 return f:StopTracking() |
| 27 end | 27 end |
| 1165 number:SetTextColor (1, 1, 1, 0.5) | 1165 number:SetTextColor (1, 1, 1, 0.5) |
| 1166 block.number = number | 1166 block.number = number |
| 1167 | 1167 |
| 1168 local stamper_icon = block:CreateTexture (nil, "overlay") | 1168 local stamper_icon = block:CreateTexture (nil, "overlay") |
| 1169 stamper_icon:SetTexture ([[Interface\ICONS\Warrior_talent_icon_LambsToTheSlaughter]]) | 1169 stamper_icon:SetTexture ([[Interface\ICONS\Warrior_talent_icon_LambsToTheSlaughter]]) |
| 1170 stamper_icon:SetTexCoord (4/64, 60/64, 4/64, 60/64) | 1170 stamper_icon:SetTexCoord (5/64, 59/64, 5/64, 59/64) |
| 1171 stamper_icon:SetSize (24, 24) | 1171 stamper_icon:SetSize (23, 23) |
| 1172 stamper_icon:SetPoint ("center", block, "center") | 1172 stamper_icon:SetPoint ("center", block, "center") |
| 1173 stamper_icon:Hide() | 1173 stamper_icon:Hide() |
| 1174 block.stamper_icon = stamper_icon | 1174 block.stamper_icon = stamper_icon |
| 1175 | 1175 |
| 1176 x = x + 31 | 1176 x = x + 31 |
