Added an option to use the default blizzard vehicle frame for vehicles (the art and all the fun)

This commit is contained in:
Hendrik Leppkes
2009-02-25 23:38:14 +01:00
parent 7b28cae101
commit 6adef77860
4 changed files with 90 additions and 16 deletions
+9
View File
@@ -66,6 +66,15 @@ function MicroMenuMod:ApplyConfig()
self.bar:ApplyConfig(self.db.profile)
end
function MicroMenuMod:RestoreButtons()
if not self:IsEnabled() then return end
for k,v in pairs(self.bar.buttons) do
v:SetParent(self.bar)
v:Show()
end
self.bar:UpdateButtonLayout()
end
MicroMenuBar.button_width = 28
MicroMenuBar.button_height = 58
MicroMenuBar.vpad_offset = -21