- Added option 'Ignore Mass Toggle', when enabled the window won't be affected when hiding, showing or toggling all windows.

- Added window number for slash commands 'hide', 'show' and 'toggle'. Usage: '/details hide 1' to hide window 1.
- Removed keybinds for Open and Close, added toggle instead.
- Added slash command 'toggle'.
- Added display icons for all skins which still didn't have they.
- Improved 'Align with right chat' tool, now it also supports Forced Square skin.
- Improvements on Bookmark panel.
- Improvements on spec icons with transparency.
- Created custom spell for Living Bomb explosion.
- Fixed statusbar textures and mini displays.
- Fixed an issue with title bar buttons when toggling the titlebar anchor from bottom to top position.
- Fixed an issue with title bar text when toggling the statusbar position from bottom to top.
- Fixed yet another bug with avoidance tab on player detail window.
- Fixed the window ungroup button (above the resize one).
This commit is contained in:
Tercio
2015-02-02 20:31:57 -02:00
parent a5ede3a633
commit ae3d951ab4
16 changed files with 217 additions and 85 deletions
+55 -20
View File
@@ -280,7 +280,13 @@ local _
site = "unknown",
desc = "Simple skin with soft gray color and half transparent frames.", --\n
micro_frames = {color = {1, 1, 1, 1}, font = "Friz Quadrata TT", size = 10},
--micro frames
micro_frames = {
color = {1, 1, 1, 1},
font = "Accidental Presidency",
size = 10,
textymod = 1,
},
can_change_alpha_head = true,
icon_anchor_main = {-1, -5},
@@ -358,11 +364,12 @@ local _
["desaturated_menu"] = false,
["micro_displays_side"] = 2,
["statusbar_info"] = {
["alpha"] = 0.622480094432831,
["alpha"] = 0.3777777777777, -- [4]
["overlay"] = {
0.333333333333333, -- [1]
0.298039215686275, -- [2]
0.337254901960784, -- [3]
0.333333333333333, -- [1]
0.333333333333333, -- [2]
0.333333333333333, -- [3]
},
},
["hide_icon"] = true,
@@ -494,7 +501,13 @@ local _
site = "unknown",
desc = "Same as the first Minimalistic, but this one is more darker and less transparent.",
micro_frames = {color = {1, 1, 1, 1}, font = "Friz Quadrata TT", size = 10},
--micro frames
micro_frames = {
color = {1, 1, 1, 0.7},
font = "Friz Quadrata TT",
size = 9,
textymod = 0,
},
can_change_alpha_head = true,
icon_anchor_main = {-1, -5},
@@ -632,11 +645,11 @@ local _
-2, -- [2]
},
["statusbar_info"] = {
["alpha"] = 1,
["alpha"] = 0.77,
["overlay"] = {
1, -- [1]
1, -- [2]
1, -- [3]
0.28627, -- [1]
0.28627, -- [2]
0.28627, -- [3]
},
},
["hide_icon"] = true,
@@ -707,7 +720,14 @@ local _
site = "unknown",
desc = "Light blue, this skin fits on almost all interfaces.\n\nFor ElvUI interfaces, change the window color to black to get an compatible visual.",
micro_frames = {color = {1, 1, 1, 1}, font = "Friz Quadrata TT", size = 10, left = "DETAILS_STATUSBAR_PLUGIN_PATTRIBUTE"},
--micro frames
micro_frames = {
left = "DETAILS_STATUSBAR_PLUGIN_PATTRIBUTE",
color = {1, 1, 1, 0.7},
font = "Accidental Presidency",
size = 10,
textymod = 0,
},
can_change_alpha_head = true,
@@ -763,7 +783,7 @@ local _
["text_face"] = "Accidental Presidency",
["anchor"] = {
-17, -- [1]
2, -- [2]
3, -- [2]
},
["text_size"] = 12,
["enable_custom_text"] = false,
@@ -1002,7 +1022,12 @@ local _
icon_plugins_size = {19, 18},
--micro frames
micro_frames = {color = {.7, .7, .7, 1}, font = "Arial Narrow", size = 11, left = "DETAILS_STATUSBAR_PLUGIN_PATTRIBUTE"},
micro_frames = {
color = {.7, .7, .7, 0.7},
font = "FORCED SQUARE",
size = 10,
textymod = 1,
},
-- the four anchors (for when the toolbar is on the top side)
icon_point_anchor = {-37, 0},
@@ -1039,6 +1064,10 @@ local _
2,
["side"] = 2,
},
["menu_anchor_down"] = {
14,
-2,
},
["bg_r"] = 0,
["following"] = {
["enabled"] = false,
@@ -1197,10 +1226,6 @@ local _
["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight",
["percent_type"] = 1,
},
["menu_anchor_down"] = {
-20,
-3,
},
["toolbar_side"] = 1,
["bg_g"] = 0,
["bars_grow_direction"] = 1,
@@ -1378,9 +1403,14 @@ local _
icon_anchor_main = {-4, -5},
icon_anchor_plugins = {-7, -13},
icon_plugins_size = {19, 18},
--micro frames
micro_frames = {color = {0.525490, 0.525490, 0.525490, 1}, font = "Arial Narrow", size = 11},
micro_frames = {
color = {1, 1, 1, 0.7},
font = "FORCED SQUARE",
size = 10,
textymod = 1,
},
-- the four anchors (for when the toolbar is on the top side)
icon_point_anchor = {-35, -0.5},
@@ -1621,7 +1651,12 @@ local _
icon_plugins_size = {19, 18},
--micro frames
micro_frames = {color = {0.525490, 0.525490, 0.525490, 1}, font = "Arial Narrow", size = 11},
micro_frames = {
color = {0.525490, 0.525490, 0.525490, 1},
font = "FORCED SQUARE",
size = 11,
textymod = 1,
},
-- the four anchors (for when the toolbar is on the top side)
icon_point_anchor = {-35, -0.5},
+45 -17
View File
@@ -20,11 +20,47 @@ function SlashCmdList.DETAILS (msg, editbox)
if (command == Loc ["STRING_SLASH_NEW"] or command == "new") then
_detalhes:CriarInstancia (nil, true)
elseif (command == Loc ["STRING_SLASH_TOGGLE"] or command == "toggle") then
local instance = rest:match ("^(%S*)%s*(.-)$")
instance = tonumber (instance)
if (instance) then
_detalhes:ToggleWindow (instance)
else
_detalhes:ToggleWindows()
end
elseif (command == Loc ["STRING_SLASH_HIDE"] or command == Loc ["STRING_SLASH_HIDE_ALIAS1"] or command == "hide") then
_detalhes:ShutDownAllInstances()
local instance = rest:match ("^(%S*)%s*(.-)$")
instance = tonumber (instance)
if (instance) then
local this_instance = _detalhes:GetInstance (instance)
if (not this_instance) then
return _detalhes:Msg (Loc ["STRING_WINDOW_NOTFOUND"])
end
if (this_instance:IsEnabled() and this_instance.baseframe) then
this_instance:ShutDown()
end
else
_detalhes:ShutDownAllInstances()
end
elseif (command == Loc ["STRING_SLASH_SHOW"] or command == Loc ["STRING_SLASH_SHOW_ALIAS1"] or command == "show") then
_detalhes:ReabrirTodasInstancias()
local instance = rest:match ("^(%S*)%s*(.-)$")
instance = tonumber (instance)
if (instance) then
local this_instance = _detalhes:GetInstance (instance)
if (not this_instance) then
return _detalhes:Msg (Loc ["STRING_WINDOW_NOTFOUND"])
end
if (not this_instance:IsEnabled() and this_instance.baseframe) then
this_instance:EnableInstance()
end
else
_detalhes:ReabrirTodasInstancias()
end
elseif (command == Loc ["STRING_SLASH_WIPECONFIG"] or command == "reinstall") then
_detalhes:WipeConfig()
@@ -73,12 +109,7 @@ function SlashCmdList.DETAILS (msg, editbox)
end
end
elseif (command == Loc ["STRING_SLASH_TOGGLE"] or command == "toggle") then
_detalhes:ToggleWindows()
elseif (command == Loc ["STRING_SLASH_WORLDBOSS"] or command == "worldboss") then
local questIds = {{"Tarlna the Ageless", 81535}, {"Drov the Ruiner ", 87437}, {"Rukhmar", 87493}}
@@ -869,18 +900,15 @@ function SlashCmdList.DETAILS (msg, editbox)
print (" ")
print (Loc ["STRING_DETAILS1"] .. "(" .. _detalhes.userversion .. ") " .. Loc ["STRING_COMMAND_LIST"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_NEW"] .. "|r: " .. Loc ["STRING_SLASH_NEW_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_SHOW"] .. "|r: " .. Loc ["STRING_SLASH_SHOW_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_HIDE"] .. "|r: " .. Loc ["STRING_SLASH_HIDE_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_TOGGLE"] .. "|r: " .. Loc ["STRING_SLASH_TOGGLE_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_NEW"] .. "|r: " .. Loc ["STRING_SLASH_NEW_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_SHOW"] .. " " .. Loc ["STRING_SLASH_HIDE"] .. " " .. Loc ["STRING_SLASH_TOGGLE"] .. "|r|cfffcffb0 <" .. Loc ["STRING_WINDOW_NUMBER"] .. ">|r: " .. Loc ["STRING_SLASH_SHOWHIDETOGGLE_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_ENABLE"] .. " " .. Loc ["STRING_SLASH_DISABLE"] .. "|r: " .. Loc ["STRING_SLASH_CAPTURE_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_RESET"] .. "|r: " .. Loc ["STRING_SLASH_RESET_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_OPTIONS"] .. "|r|cfffcffb0 <" .. Loc ["STRING_WINDOW_NUMBER"] .. ">|r: " .. Loc ["STRING_SLASH_OPTIONS_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_CHANGES"] .. "|r: " .. Loc ["STRING_SLASH_CHANGES_DESC"])
print ("|cffffaeae/details|r |cffffff33" .. Loc ["STRING_SLASH_WIPECONFIG"] .. "|r: " .. Loc ["STRING_SLASH_WIPECONFIG_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_ENABLE"] .. "|r: " .. Loc ["STRING_SLASH_ENABLE_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_DISABLE"] .. "|r: " .. Loc ["STRING_SLASH_DISABLE_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_RESET"] .. "|r: " .. Loc ["STRING_SLASH_RESET_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_OPTIONS"] .. "|r|cfffcffb0 <instance number>|r: " .. Loc ["STRING_SLASH_OPTIONS_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_CHANGES"] .. "|r: " .. Loc ["STRING_SLASH_CHANGES_DESC"])
print ("|cffffaeae/details " .. Loc ["STRING_SLASH_WIPECONFIG"] .. "|r: " .. Loc ["STRING_SLASH_WIPECONFIG_DESC"])
--print ("|cffffaeae/details " .. Loc ["STRING_SLASH_WORLDBOSS"] .. "|r: " .. Loc ["STRING_SLASH_WORLDBOSS_DESC"])
print (" ")