Open Raid Library update

This commit is contained in:
Tercio Jose
2022-10-18 10:31:05 -03:00
parent 399756d6d1
commit fd801fa69f
47 changed files with 2559 additions and 915 deletions
+1 -1
View File
@@ -4604,7 +4604,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
--soft switch
_detalhes.capture_current [capture_type] = on_off
if (time) then
local schedule_id = math.random (1, 10000000)
local schedule_id = math.random(1, 10000000)
local new_schedule = _detalhes:ScheduleTimer("CaptureTimeout", time, {capture_type, schedule_id})
tinsert(_detalhes.capture_schedules, {new_schedule, schedule_id})
end
+8 -8
View File
@@ -477,7 +477,7 @@
local text = _detalhes.gump:NewLabel(frame, nil, "$parentText", "text", "0")
text:SetPoint("right", frame, "right", 0, 0)
text:SetJustifyH("right")
_detalhes:SetFontSize (text, 9.8)
_detalhes:SetFontSize(text, 9.8)
frame:SetHook("OnEnter", OnEnter)
frame:SetHook("OnLeave", OnLeave)
@@ -567,7 +567,7 @@
end
child.options.textSize = value or 9
child:SetFontSize (child.text, child.options.textSize)
child:SetFontSize(child.text, child.options.textSize)
elseif (option == "textface") then
@@ -830,8 +830,8 @@ do
-----------------------------------------------------------------------------------------------------------------------------
--now we insert all widgets created on widgets table
table.insert (widgets, window.segmentOptionLabel)
table.insert (widgets, window.segmentTypeDropdown)
table.insert(widgets, window.segmentOptionLabel)
table.insert(widgets, window.segmentTypeDropdown)
--after first call we replace this function with widgets table
PSegment.ExtraOptions = widgets
@@ -1017,8 +1017,8 @@ do
-----------------------------------------------------------------------------------------------------------------------------
--now we insert all widgets created on widgets table
table.insert (widgets, window.ClockTypeLabel)
table.insert (widgets, window.ClockTypeDropdown)
table.insert(widgets, window.ClockTypeLabel)
table.insert(widgets, window.ClockTypeDropdown)
--after first call we replace this function with widgets table
Clock.ExtraOptions = widgets
@@ -1431,8 +1431,8 @@ do
-----------------------------------------------------------------------------------------------------------------------------
--now we insert all widgets created on widgets table
table.insert (widgets, window.TimeTypeLabel)
table.insert (widgets, window.TimeTypeDropdown)
table.insert(widgets, window.TimeTypeLabel)
table.insert(widgets, window.TimeTypeDropdown)
--after first call we replace this function with widgets table
PTime.ExtraOptions = widgets
+2 -2
View File
@@ -17,7 +17,7 @@
--random name if nameless
if (not framename) then
framename = "DetailsToolbarButton" .. math.random (1, 100000)
framename = "DetailsToolbarButton" .. math.random(1, 100000)
end
--create button from template
@@ -199,7 +199,7 @@ end
f.icon:SetTexture(button.__icon)
f.title:SetText(button.__name)
f.desc:SetText(plugin_object:GetPluginDescription())
_detalhes:SetFontSize (f.desc, _detalhes.font_sizes.menus)
_detalhes:SetFontSize(f.desc, _detalhes.font_sizes.menus)
_detalhes:SetFontFace (f.desc, _detalhes.font_faces.menus)
--f.background:SetTexture(_detalhes.tooltip.menus_bg_texture)
+1 -1
View File
@@ -1024,7 +1024,7 @@ end
end
--font size
function _detalhes:SetFontSize (fontString, ...)
function _detalhes:SetFontSize(fontString, ...)
local fonte, _, flags = fontString:GetFont()
fontString:SetFont (fonte, _math_max (...), flags)
end