From 4527db38765c7c2392e55d6548f5e2773b99deff Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 23 Feb 2013 05:49:15 -0500 Subject: [PATCH] Skinning of minimap buttons with some changes to coords. --- ElvUI_SLE/config/profile.lua | 5 + ElvUI_SLE/config/sle_private.lua | 7 + ElvUI_SLE/locales/english.lua | 19 +++ ElvUI_SLE/modules/minimap/load_minimap.xml | 1 + ElvUI_SLE/modules/minimap/minimapicons.lua | 243 +++++++++++++++++++++++++++- ElvUI_SLE/modules/minimap/options.lua | 73 +++++++-- 6 files changed, 334 insertions(+), 14 deletions(-) diff --git a/ElvUI_SLE/config/profile.lua b/ElvUI_SLE/config/profile.lua index 2d552b4..e75677f 100644 --- a/ElvUI_SLE/config/profile.lua +++ b/ElvUI_SLE/config/profile.lua @@ -157,6 +157,11 @@ P['sle'] = { ['coords'] = { ['display'] = "SHOW", }, + ['buttons'] = { + ['anchor'] = "NOANCHOR", + ['size'] = 24, + ['mouseover'] = false, + }, }, --Power text on classbars diff --git a/ElvUI_SLE/config/sle_private.lua b/ElvUI_SLE/config/sle_private.lua index 5c2814b..08eca71 100644 --- a/ElvUI_SLE/config/sle_private.lua +++ b/ElvUI_SLE/config/sle_private.lua @@ -52,4 +52,11 @@ V['sle'] = { ['instance'] = "NONE", ['pvp'] = "NONE", }, + + --Minimap Moduel + ['minimap'] = { + ['buttons'] = { + ['enable'] = true, + }, + }, } diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua index c361f2a..9f4144b 100644 --- a/ElvUI_SLE/locales/english.lua +++ b/ElvUI_SLE/locales/english.lua @@ -165,6 +165,25 @@ L["Sets size of buttons"] = true --Also used in UI buttons L["Direction"] = true L["Change the direction of buttons growth from the skull marker"] = true +--Minimap-- +L["Minimap"] = true +L["Minimap Options"] = true +L['MINIMAP_DESC'] = "These options effect various aspects of the minimap. Some options may not work if you disable minimap in the General section of ElvUI config." +L["Enable/Disable Minimap Coords"] = true +L["Minimap Coordinates"] = true +L['Coords Display'] = true +L['Change settings for the display of the coordinates that are on the minimap.'] = true +L['Hide'] = true +L["Minimap Buttons"] = true +L['Enable/Disable minimap button skinning.'] = true +L['Anchor Setting'] = true +L['Anchor mode for displaying the minimap buttons are skinned.'] = true +L['Horizontal Bar'] = true +L['Vertical Bar'] = true +L['Button Size'] = true +L['The size of the minimap buttons when not anchored to the minimap.'] = true +L['Show minimap buttons on mouseover.'] = true + --Raid Utility-- L["Raid Utility"] = true diff --git a/ElvUI_SLE/modules/minimap/load_minimap.xml b/ElvUI_SLE/modules/minimap/load_minimap.xml index 4b25734..a1cd949 100644 --- a/ElvUI_SLE/modules/minimap/load_minimap.xml +++ b/ElvUI_SLE/modules/minimap/load_minimap.xml @@ -1,4 +1,5 @@