- Added four more abbreviation types.

- Abbreviations now are applied on all numbers in the bar.
- Minimum amount of instances was lowered to 3.
- Fixed issue where the instance menu wasn't respecting the amount limit of instances.
- Added options for cutomize the right text of a row.
- Added a option to be able to chance the framestrata of an window.
- Added shift, ctrl, alt interaction for rows which shows all spells, targets or pets when pressed.
- Fixed a issue where changing the alpha of a window makes it disappear on the next logon.
- Added a option for auto transparency to ignore rows.
- Added option to be able to set shadow on the attribute text.
- Fixed a issue with window snap where disabled statusbar makes a gap between the windows.
- Fixed issue where mini displayes wasn't saved and back to default values on every logon.
- Mini display 'instance segment' now have a option to show the encounter name instead the number of the segment.
- Added a new experimental library called hotcorners, this library create a menu hidden on the top left corner.
- New API: instance:GetId() return the id of the instance.
This commit is contained in:
tercio
2014-04-23 21:37:34 -03:00
parent 4384da2654
commit a56db81297
39 changed files with 1636 additions and 601 deletions
+3 -3
View File
@@ -778,7 +778,7 @@ function gump:NewColorPickButton (parent, name, member, callback, alpha)
bgFile = [[Interface\AddOns\Details\images\background]], insets = {left = 0, right = 0, top = 0, bottom = 0}})
--textura do fundo
local background = gump:NewImage (button, _, "$parentBck", nil, color_button_width, color_button_height)
local background = gump:NewImage (button, nil, color_button_width, color_button_height, nil, nil, nil, "$parentBck")
background:SetTexture ([[Interface\AddOns\Details\images\icons]])
background:SetPoint ("topleft", button.widget, "topleft", 1, -2)
background:SetPoint ("bottomright", button.widget, "bottomright", -1, 1)
@@ -787,7 +787,7 @@ function gump:NewColorPickButton (parent, name, member, callback, alpha)
background:SetDrawLayer ("background", 1)
--textura da cor
local img = gump:NewImage (button, _, "$parentTex", "color_texture", color_button_width, color_button_height)
local img = gump:NewImage (button, nil, color_button_width, color_button_height, nil, nil, "color_texture", "$parentTex")
img:SetTexture (1, 1, 1)
img:SetPoint ("topleft", button.widget, "topleft", 1, -2)
img:SetPoint ("bottomright", button.widget, "bottomright", -1, 1)
@@ -795,7 +795,7 @@ function gump:NewColorPickButton (parent, name, member, callback, alpha)
--icone do color pick
--[[
local icon = gump:NewImage (button, _, "$parentIcon", nil, 16, color_button_height)
local icon = gump:NewImage (button, nil, "$parentIcon", nil, 16, color_button_height)
icon:SetTexture ("Interface\\AddOns\\Details\\images\\icons")
icon:SetPoint ("topleft", button, "topleft", -1, 0)
icon:SetDrawLayer ("border", 3)
+5 -5
View File
@@ -392,12 +392,12 @@ end
function DetailsDropDownOptionOnEnter (frame)
if (frame.table.desc) then
GameCooltip:Reset()
GameCooltip:SetType ("tooltip")
GameCooltip:SetColor ("main", "transparent")
_detalhes:CooltipPreset (1)
GameCooltip:AddLine (frame.table.desc)
GameCooltip:SetOwner (frame:GetParent():GetParent():GetParent())
GameCooltip:ShowCooltip()
if (frame.table.descfont) then
GameCooltip:SetOption ("TextFont", frame.table.descfont)
end
GameCooltip:ShowCooltip(frame:GetParent():GetParent():GetParent(), "tooltip")
frame.tooltip = true
end
frame:GetParent().mouseover:SetPoint ("left", frame)
+1 -7
View File
@@ -204,14 +204,11 @@ local ImageMetaFunctions = {}
------------------------------------------------------------------------------------------------------------
--> object constructor
function gump:NewImage (parent, container, name, member, w, h, texture, layer)
function gump:NewImage (parent, texture, w, h, layer, coords, member, name)
if (not parent) then
return nil
end
if (not container) then
container = parent
end
if (not name) then
name = "DetailsPictureNumber" .. gump.PictureNameCounter
@@ -231,9 +228,6 @@ function gump:NewImage (parent, container, name, member, w, h, texture, layer)
if (parent.dframework) then
parent = parent.widget
end
if (container.dframework) then
container = container.widget
end
texture = texture or ""
+6 -6
View File
@@ -11,11 +11,11 @@ local _
window.hooks = {}
local background = g:NewImage (window, nil, "$parentBackground", nil, nil, nil, nil, "background")
local background = g:NewImage (window, nil, nil, nil, "background", nil, nil, "$parentBackground")
background:SetAllPoints()
background:SetTexture (0, 0, 0, .8)
local edit_texture = g:NewImage (window, nil, "$parentImage", nil, 300, 250, nil, "artwork")
local edit_texture = g:NewImage (window, nil, 300, 250, "artwork", nil, nil, "$parentImage")
edit_texture:SetPoint ("center", window, "center")
local haveHFlip = false
@@ -23,7 +23,7 @@ local _
--> Top Slider
local topCoordTexture = g:NewImage (window, nil, "$parentImageTopCoord", nil, nil, nil, nil, "overlay")
local topCoordTexture = g:NewImage (window, nil, nil, nil, "overlay", nil, nil, "$parentImageTopCoord")
topCoordTexture:SetPoint ("topleft", window, "topleft")
topCoordTexture:SetPoint ("topright", window, "topright")
topCoordTexture.color = "red"
@@ -55,7 +55,7 @@ local _
--> Bottom Slider
local bottomCoordTexture = g:NewImage (window, nil, "$parentImageBottomCoord", nil, nil, nil, nil, "overlay")
local bottomCoordTexture = g:NewImage (window, nil, nil, nil, "overlay", nil, nil, "$parentImageBottomCoord")
bottomCoordTexture:SetPoint ("bottomleft", window, "bottomleft", 0, 0)
bottomCoordTexture:SetPoint ("bottomright", window, "bottomright", 0, 0)
bottomCoordTexture.color = "red"
@@ -88,7 +88,7 @@ local _
--> Left Slider
local leftCoordTexture = g:NewImage (window, nil, "$parentImageLeftCoord", nil, nil, nil, nil, "overlay")
local leftCoordTexture = g:NewImage (window, nil, nil, nil, "overlay", nil, nil, "$parentImageLeftCoord")
leftCoordTexture:SetPoint ("topleft", window, "topleft", 0, 0)
leftCoordTexture:SetPoint ("bottomleft", window, "bottomleft", 0, 0)
leftCoordTexture.color = "red"
@@ -119,7 +119,7 @@ local _
--> Right Slider
local rightCoordTexture = g:NewImage (window, nil, "$parentImageRightCoord", nil, nil, nil, nil, "overlay")
local rightCoordTexture = g:NewImage (window, nil, nil, nil, "overlay", nil, nil, "$parentImageRightCoord")
rightCoordTexture:SetPoint ("topright", window, "topright", 0, 0)
rightCoordTexture:SetPoint ("bottomright", window, "bottomright", 0, 0)
rightCoordTexture.color = "red"
+2 -2
View File
@@ -482,7 +482,7 @@ local SliderMetaFunctions = {}
local on_update = function (self, elapsed)
timer = timer + elapsed
if (timer > 0.6) then
if (timer > 0.4) then
change_timer = change_timer + elapsed
if (change_timer > 0.1) then
change_timer = 0
@@ -533,7 +533,7 @@ local SliderMetaFunctions = {}
local on_update = function (self, elapsed)
timer = timer + elapsed
if (timer > 0.6) then
if (timer > 0.4) then
change_timer = change_timer + elapsed
if (change_timer > 0.1) then
change_timer = 0