- some fixes for last_events_table, shadow object no more have last_events.

- implemented cache for group mode.
- class constructor now create new object at once, avoiding table rehashs.
- fixed dps issue with cloud capture.
- added a pet cache for parser.
- minor parser speed up on parser removing metatables index call.
- implemented new pet sync were at the end of combat, details will ask for unknow owners.
- few new wallpapers.
- new API: _detalhes:InstanceAlert (msg, icon, time, clickfunc).
-
This commit is contained in:
Tercio
2013-08-20 19:30:52 -03:00
parent 97109c6987
commit 8289ebbfa7
30 changed files with 789 additions and 436 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ local ButtonMetaFunctions = {}
end
--> function
local smember_function = function (_object, _value)
return _rawset (_object, "func", _value)
return _rawset (_object, "func", _value)
end
--> text color
local smember_textcolor = function (_object, _value)
+6
View File
@@ -410,6 +410,8 @@ function DetailsDropDownOnMouseDown (button)
if (not object.opened) then --> click to open
local menu = object:func()
object.builtMenu = menu
local frame_witdh = object.realsizeW
if (menu [1]) then
@@ -698,6 +700,8 @@ function gump:NewDropDown (parent, container, name, member, w, h, func, default)
DropDownObject.dropdown = CreateFrame ("Button", name, parent, "DetailsDropDownTemplate")
DropDownObject.widget = DropDownObject.dropdown
DropDownObject.__it = {nil, nil}
--_G [name] = DropDownObject
if (not APIDropDownFunctions) then
@@ -747,6 +751,8 @@ function gump:NewDropDown (parent, container, name, member, w, h, func, default)
scroll.slider:Show()
end
--button_down_scripts (DropDownObject, scroll.slider, scroll.baixo)
DropDownObject:HideScroll()
DropDownObject.label:SetSize (DropDownObject.dropdown:GetWidth()-40, 10)