- Added keybinds to reset segments and scroll up/down.
- Added Spell Customization options where icon and the name of a spell can be changed. - Added option to change the micro displays side, now it can be shown on the window top side. - Added options to change the transparency when out of combat and out of a group. - Added and Still under development the panel for create data captures for charts. - Fixed a issue with flat skin where the close button was just too big. - New API: _detalhes:InstanceCall (function, params ...) runs a function into all opened instances. - New Framework: gump:NewSpellEntry() create a textfield for choose a spell. - New Framework: gump:NewSpecialLuaEditorEntry() create a textbox with lua syntaxes highlight. - New FrameWork: gump:NewFillPanel() create a panel with rows.
This commit is contained in:
+21
-1
@@ -40,6 +40,12 @@ function _G._detalhes:Start()
|
||||
|
||||
f:SetScript ("OnMouseDown", function() f:StartMoving(); f:SetScript("OnUpdate", function() f:UpdateLeftRight() end) end)
|
||||
f:SetScript ("OnMouseUp", function() f:StopMovingOrSizing(); f:SetScript("OnUpdate", nil); f:UpdateLeftRight() end)
|
||||
|
||||
function _detalhes:updatetestbox()
|
||||
f:UpdateLeftRight()
|
||||
end
|
||||
_detalhes:ScheduleTimer("updatetestbox", 5)
|
||||
|
||||
--]]
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> details defaults
|
||||
@@ -307,6 +313,9 @@ function _G._detalhes:Start()
|
||||
}
|
||||
self.custom [#self.custom+1] = HealingPotion
|
||||
end
|
||||
|
||||
_detalhes:FillUserCustomSpells()
|
||||
|
||||
end
|
||||
|
||||
--_detalhes:OpenWelcomeWindow()
|
||||
@@ -418,6 +427,8 @@ function _G._detalhes:Start()
|
||||
lower_instance:InstanceAlert (Loc ["STRING_VERSION_UPDATE"], {[[Interface\GossipFrame\AvailableQuestIcon]], 16, 16, false}, 20, {_detalhes.OpenNewsWindow})
|
||||
end
|
||||
end
|
||||
|
||||
_detalhes:FillUserCustomSpells()
|
||||
end
|
||||
|
||||
--> minimap
|
||||
@@ -587,11 +598,13 @@ function _G._detalhes:Start()
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--register lib-hotcorners
|
||||
local reset_func = function() _detalhes.tabela_historico:resetar() end
|
||||
_detalhes:RegisterHotCornerButton ("TOPLEFT", "DetailsLeftCornerButton", [[Interface\AddOns\Details\images\minimap]], "|cFFFFFFFFDetails!\n|cFF00FF00Left Click:|r clear all segments.", reset_func, nil, reset_func)
|
||||
|
||||
--> register time captures
|
||||
--_detalhes:LoadUserTimeCaptures()
|
||||
|
||||
--[[
|
||||
local f = CreateFrame ("frame", nil, UIParent)
|
||||
@@ -611,5 +624,12 @@ function _G._detalhes:Start()
|
||||
b:SetPoint ("left", f, "left")
|
||||
b:SetAlpha (1)
|
||||
--]]
|
||||
|
||||
--function _detalhes:OpenOptionsWindowAtStart()
|
||||
--_detalhes:OpenOptionsWindow (_detalhes.tabela_instancias[1])
|
||||
--end
|
||||
--_detalhes:ScheduleTimer ("OpenOptionsWindowAtStart", 2)
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user