mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 14:20:13 -05:00
- first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however.
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local DogTag = nil
|
||||
|
||||
IceBarElement = IceCore_CreateClass(IceElement)
|
||||
@ -120,14 +121,14 @@ function IceBarElement.prototype:GetOptions()
|
||||
|
||||
opts["headerLookAndFeel"] = {
|
||||
type = 'header',
|
||||
name = 'Look and Feel',
|
||||
name = L["Look and Feel"],
|
||||
order = 29.9
|
||||
}
|
||||
opts["side"] =
|
||||
{
|
||||
type = 'select',
|
||||
name = 'Side|r',
|
||||
desc = 'Side of the HUD where the bar appears',
|
||||
name = L["Side"],
|
||||
desc = L["Side of the HUD where the bar appears"],
|
||||
get = function(info)
|
||||
if (self.moduleSettings.side == IceCore.Side.Right) then
|
||||
return 2
|
||||
@ -153,8 +154,8 @@ function IceBarElement.prototype:GetOptions()
|
||||
opts["offset"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Offset',
|
||||
desc = 'Offset of the bar',
|
||||
name = L["Offset"],
|
||||
desc = L["Offset of the bar"],
|
||||
min = -10,
|
||||
max = 15,
|
||||
step = 1,
|
||||
@ -174,8 +175,8 @@ function IceBarElement.prototype:GetOptions()
|
||||
opts["scale"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Scale',
|
||||
desc = 'Scale of the bar',
|
||||
name = L["Scale"],
|
||||
desc = L["Scale of the bar"],
|
||||
min = 0.1,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -196,8 +197,8 @@ function IceBarElement.prototype:GetOptions()
|
||||
opts["inverse"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Invert bar',
|
||||
desc = 'Controls which direction the bar fills up. With this checked, the bar will fill opposite from normal (e.g. for health: 0% at the top, 100% at the bottom).',
|
||||
name = L["Invert bar"],
|
||||
desc = L["Controls which direction the bar fills up. With this checked, the bar will fill opposite from normal (e.g. for health: 0% at the top, 100% at the bottom)."],
|
||||
get = function()
|
||||
return self.moduleSettings.inverse
|
||||
end,
|
||||
@ -215,8 +216,8 @@ function IceBarElement.prototype:GetOptions()
|
||||
opts["reverse"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Reverse direction',
|
||||
desc = "Controls what it means for the bar to be filled. A normal bar will grow larger as the value grows from 0% to 100%. A reversed bar will shrink as the value grows from 0% to 100%.",
|
||||
name = L["Reverse direction"],
|
||||
desc = L["Controls what it means for the bar to be filled. A normal bar will grow larger as the value grows from 0% to 100%. A reversed bar will shrink as the value grows from 0% to 100%."],
|
||||
get = function()
|
||||
return self.moduleSettings.reverse
|
||||
end,
|
||||
@ -233,8 +234,8 @@ function IceBarElement.prototype:GetOptions()
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
desc = 'Toggle bar visibility',
|
||||
name = L["Bar visible"],
|
||||
desc = L["Toggle bar visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bar']
|
||||
end,
|
||||
@ -254,8 +255,8 @@ function IceBarElement.prototype:GetOptions()
|
||||
|
||||
opts["bgVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar background visible',
|
||||
desc = 'Toggle bar background visibility',
|
||||
name = L["Bar background visible"],
|
||||
desc = L["Toggle bar background visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bg']
|
||||
end,
|
||||
@ -275,14 +276,14 @@ function IceBarElement.prototype:GetOptions()
|
||||
if not self.moduleSettings.hideAnimationSettings then
|
||||
opts["headerAnimation"] = {
|
||||
type = 'header',
|
||||
name = 'Animation Settings',
|
||||
name = L["Animation Settings"],
|
||||
order = 110
|
||||
}
|
||||
opts["shouldAnimate"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Animate changes',
|
||||
desc = 'Whether or not to animate the bar falloffs/gains',
|
||||
name = L["Animate changes"],
|
||||
desc = L["Whether or not to animate the bar falloffs/gains"],
|
||||
get = function()
|
||||
return self.moduleSettings.shouldAnimate
|
||||
end,
|
||||
@ -299,8 +300,8 @@ if not self.moduleSettings.hideAnimationSettings then
|
||||
opts["desiredLerpTime"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Animation Duration',
|
||||
desc = 'How long the animation should take to play',
|
||||
name = L["Animation Duration"],
|
||||
desc = L["How long the animation should take to play"],
|
||||
min = 0,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -320,8 +321,8 @@ end
|
||||
opts["widthModifier"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Bar width modifier',
|
||||
desc = 'Make this bar wider or thinner than others',
|
||||
name = L["Bar width modifier"],
|
||||
desc = L["Make this bar wider or thinner than others"],
|
||||
min = -80,
|
||||
max = 80,
|
||||
step = 1,
|
||||
@ -341,8 +342,8 @@ end
|
||||
opts["barVerticalOffset"] =
|
||||
{
|
||||
type='range',
|
||||
name = 'Bar vertical offset',
|
||||
desc = 'Adjust the vertical placement of this bar',
|
||||
name = L["Bar vertical offset"],
|
||||
desc = L["Adjust the vertical placement of this bar"],
|
||||
min = -400,
|
||||
max = 600,
|
||||
step = 1,
|
||||
@ -362,8 +363,8 @@ end
|
||||
opts["barHorizontalAdjust"] =
|
||||
{
|
||||
type='range',
|
||||
name = 'Bar horizontal adjust',
|
||||
desc = "This is a per-pixel horizontal adjustment. You should probably use the 'offset' setting above as it is designed to snap bars together. This may be used in the case of a horizontal bar needing to be positioned outside the normal bar locations.",
|
||||
name = L["Bar horizontal adjust"],
|
||||
desc = L["This is a per-pixel horizontal adjustment. You should probably use the 'offset' setting above as it is designed to snap bars together. This may be used in the case of a horizontal bar needing to be positioned outside the normal bar locations."],
|
||||
min = -400,
|
||||
max = 600,
|
||||
step = 1,
|
||||
@ -383,8 +384,8 @@ end
|
||||
opts["shouldUseOverride"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Override global texture',
|
||||
desc = 'This will override the global bar texture setting for this bar with the one specified below.',
|
||||
name = L["Override global texture"],
|
||||
desc = L["This will override the global bar texture setting for this bar with the one specified below."],
|
||||
get = function()
|
||||
return self.moduleSettings.shouldUseOverride
|
||||
end,
|
||||
@ -404,8 +405,8 @@ end
|
||||
opts["barTextureOverride"] =
|
||||
{
|
||||
type = 'select',
|
||||
name = 'Bar Texture Override',
|
||||
desc = 'This will override the global bar texture setting for this bar.',
|
||||
name = L["Bar Texture Override"],
|
||||
desc = L["This will override the global bar texture setting for this bar."],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.barTextureOverride)
|
||||
end,
|
||||
@ -424,8 +425,8 @@ end
|
||||
opts["barRotate"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Rotate 90 degrees',
|
||||
desc = "This will rotate this module by 90 degrees to give a horizontal orientation.\n\nWARNING: This feature is brand new and a bit rough around the edges. You will need to greatly adjust the vertical and horizontal offset of this bar plus move the text around in order for it to look correct.\n\nAnd I mean greatly.",
|
||||
name = L["Rotate 90 degrees"],
|
||||
desc = L["This will rotate this module by 90 degrees to give a horizontal orientation.\n\nWARNING: This feature is brand new and a bit rough around the edges. You will need to greatly adjust the vertical and horizontal offset of this bar plus move the text around in order for it to look correct.\n\nAnd I mean greatly."],
|
||||
get = function(info)
|
||||
return self.moduleSettings.rotateBar
|
||||
end,
|
||||
@ -446,8 +447,8 @@ end
|
||||
opts["textSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
name = '|c'..self.configColor..'Text Settings|r',
|
||||
desc = 'Settings related to texts',
|
||||
name = "|c"..self.configColor..L["Text Settings"].."|r",
|
||||
desc = L["Settings related to texts"],
|
||||
order = 32,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
@ -455,8 +456,8 @@ end
|
||||
args = {
|
||||
fontsize = {
|
||||
type = 'range',
|
||||
name = 'Bar Font Size',
|
||||
desc = 'Bar Font Size',
|
||||
name = L["Bar Font Size"],
|
||||
desc = L["Bar Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.barFontSize
|
||||
end,
|
||||
@ -472,8 +473,8 @@ end
|
||||
|
||||
lockUpperFontAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock Upper Text Alpha",
|
||||
desc = "Locks upper text alpha to 100%",
|
||||
name = L["Lock Upper Text Alpha"],
|
||||
desc = L["Locks upper text alpha to 100%"],
|
||||
get = function()
|
||||
return self.moduleSettings.lockUpperTextAlpha
|
||||
end,
|
||||
@ -486,8 +487,8 @@ end
|
||||
|
||||
lockLowerFontAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock Lower Text Alpha",
|
||||
desc = "Locks lower text alpha to 100%",
|
||||
name = L["Lock Lower Text Alpha"],
|
||||
desc = L["Locks lower text alpha to 100%"],
|
||||
get = function()
|
||||
return self.moduleSettings.lockLowerTextAlpha
|
||||
end,
|
||||
@ -500,8 +501,8 @@ end
|
||||
|
||||
upperTextVisible = {
|
||||
type = 'toggle',
|
||||
name = 'Upper text visible',
|
||||
desc = 'Toggle upper text visibility',
|
||||
name = L["Upper text visible"],
|
||||
desc = L["Toggle upper text visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.textVisible['upper']
|
||||
end,
|
||||
@ -514,8 +515,8 @@ end
|
||||
|
||||
lowerTextVisible = {
|
||||
type = 'toggle',
|
||||
name = 'Lower text visible',
|
||||
desc = 'Toggle lower text visibility',
|
||||
name = L["Lower text visible"],
|
||||
desc = L["Toggle lower text visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.textVisible['lower']
|
||||
end,
|
||||
@ -528,8 +529,8 @@ end
|
||||
|
||||
upperTextString = {
|
||||
type = 'input',
|
||||
name = 'Upper Text',
|
||||
desc = 'The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save.',
|
||||
name = L["Upper Text"],
|
||||
desc = L["The upper text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save."],
|
||||
hidden = function()
|
||||
return DogTag == nil or not self.moduleSettings.usesDogTagStrings
|
||||
end,
|
||||
@ -551,8 +552,8 @@ end
|
||||
|
||||
lowerTextString = {
|
||||
type = 'input',
|
||||
name = 'Lower Text',
|
||||
desc = 'The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save.',
|
||||
name = L["Lower Text"],
|
||||
desc = L["The lower text to display under this bar (accepts LibDogTag formatting)\n\nSee http://www.wowace.com/wiki/LibDogTag-2.0/ or type /dogtag for tag info.\n\nRemember to press ENTER after filling out this box or it will not save."],
|
||||
hidden = function()
|
||||
return DogTag == nil or not self.moduleSettings.usesDogTagStrings
|
||||
end,
|
||||
@ -574,8 +575,8 @@ end
|
||||
|
||||
forceJustifyText = {
|
||||
type = 'select',
|
||||
name = 'Force Text Justification',
|
||||
desc = 'This sets the alignment for the text on this bar',
|
||||
name = L["Force Text Justification"],
|
||||
desc = L["This sets the alignment for the text on this bar"],
|
||||
get = function(info)
|
||||
return self.moduleSettings.forceJustifyText
|
||||
end,
|
||||
@ -591,8 +592,8 @@ end
|
||||
|
||||
textVerticalOffset = {
|
||||
type = 'range',
|
||||
name = 'Text Vertical Offset',
|
||||
desc = 'Offset of the text from the bar vertically (negative is farther below)',
|
||||
name = L["Text Vertical Offset"],
|
||||
desc = L["Offset of the text from the bar vertically (negative is farther below)"],
|
||||
min = -450,
|
||||
max = 350,
|
||||
step = 1,
|
||||
@ -610,8 +611,8 @@ end
|
||||
|
||||
textHorizontalOffset = {
|
||||
type = 'range',
|
||||
name = 'Text Horizontal Offset',
|
||||
desc = 'Offset of the text from the bar horizontally',
|
||||
name = L["Text Horizontal Offset"],
|
||||
desc = L["Offset of the text from the bar horizontally"],
|
||||
min = -350,
|
||||
max = 350,
|
||||
step = 1,
|
||||
@ -632,8 +633,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
opts["markerSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
name = '|c'..self.configColor..'Marker Settings|r',
|
||||
desc = 'Create or remove markers at various points along the bar here',
|
||||
name = "|c"..self.configColor..L["Marker Settings"].."|r",
|
||||
desc = L["Create or remove markers at various points along the bar here"],
|
||||
order = 32,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
@ -644,8 +645,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
name = "Position (percent)",
|
||||
desc = "This specifies at what point along the bar this marker should be displayed. Remember to press ENTER when you are done typing.\n\nExample: if you wanted a marker at 40 energy and you have 100 total energy, then this would be 40. If you want it at 40 energy and you have 120 total energy, then this would be 33.",
|
||||
name = L["Position (percent)"],
|
||||
desc = L["This specifies at what point along the bar this marker should be displayed. Remember to press ENTER when you are done typing.\n\nExample: if you wanted a marker at 40 energy and you have 100 total energy, then this would be 40. If you want it at 40 energy and you have 120 total energy, then this would be 33."],
|
||||
get = function()
|
||||
return lastMarkerPosConfig
|
||||
end,
|
||||
@ -656,8 +657,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
},
|
||||
markerColor = {
|
||||
type = "color",
|
||||
name = "Color",
|
||||
desc = "The color this marker should be.",
|
||||
name = L["Color"],
|
||||
desc = L["The color this marker should be."],
|
||||
width = "half",
|
||||
get = function()
|
||||
return lastMarkerColorConfig.r, lastMarkerColorConfig.g, lastMarkerColorConfig.b, lastMarkerColorConfig.a
|
||||
@ -672,8 +673,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
min = 1,
|
||||
step = 1,
|
||||
max = self.settings.barHeight,
|
||||
name = "Height",
|
||||
desc = "The height of the marker on the bar.",
|
||||
name = L["Height"],
|
||||
desc = L["The height of the marker on the bar."],
|
||||
get = function()
|
||||
return lastMarkerHeightConfig
|
||||
end,
|
||||
@ -684,8 +685,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
},
|
||||
createMarker = {
|
||||
type = "execute",
|
||||
name = "Create marker",
|
||||
desc = "Creates a new marker with the chosen settings.",
|
||||
name = L["Create marker"],
|
||||
desc = L["Creates a new marker with the chosen settings."],
|
||||
width = "full",
|
||||
func = function()
|
||||
self:AddNewMarker(lastMarkerPosConfig / 100, lastMarkerColorConfig, lastMarkerHeightConfig)
|
||||
@ -694,8 +695,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
},
|
||||
listMarkers = {
|
||||
type = "select",
|
||||
name = "Edit Marker",
|
||||
desc = "Choose a marker to edit. This will place the marker's settings in the fields above here.",
|
||||
name = L["Edit Marker"],
|
||||
desc = L["Choose a marker to edit. This will place the marker's settings in the fields above here."],
|
||||
values = function()
|
||||
local retval = {}
|
||||
if self.moduleSettings.markers then
|
||||
@ -719,8 +720,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
},
|
||||
editMarker = {
|
||||
type = "execute",
|
||||
name = "Update",
|
||||
desc = "This will update the marker selected in the 'edit marker' box with the values specified.",
|
||||
name = L["Update"],
|
||||
desc = L["This will update the marker selected in the 'edit marker' box with the values specified."],
|
||||
func = function()
|
||||
if self.moduleSettings.markers and lastEditMarkerConfig <= #self.moduleSettings.markers then
|
||||
self:EditMarker(lastEditMarkerConfig, lastMarkerPosConfig / 100, lastMarkerColorConfig, lastMarkerHeightConfig)
|
||||
@ -730,8 +731,8 @@ if not self.moduleSettings.bHideMarkerSettings then
|
||||
},
|
||||
deleteMarker = {
|
||||
type = "execute",
|
||||
name = "Remove",
|
||||
desc = "This will remove the marker selected in the 'edit marker' box. This action is irreversible.",
|
||||
name = L["Remove"],
|
||||
desc = L["This will remove the marker selected in the 'edit marker' box. This action is irreversible."],
|
||||
func = function()
|
||||
if self.moduleSettings.markers and lastEditMarkerConfig <= #self.moduleSettings.markers then
|
||||
self:RemoveMarker(lastEditMarkerConfig)
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceCastBar = IceCore_CreateClass(IceBarElement)
|
||||
|
||||
|
||||
@ -70,8 +71,8 @@ function IceCastBar.prototype:GetOptions()
|
||||
opts["showCastTime"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Show spell cast time',
|
||||
desc = 'Whether or not to show the remaining cast time of a spell being cast.',
|
||||
name = L["Show spell cast time"],
|
||||
desc = L["Whether or not to show the remaining cast time of a spell being cast."],
|
||||
get = function()
|
||||
return self.moduleSettings.showCastTime
|
||||
end,
|
||||
@ -87,8 +88,8 @@ function IceCastBar.prototype:GetOptions()
|
||||
opts["showSpellRank"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Show spell rank',
|
||||
desc = 'Whether or not to show the rank of a spell being cast.',
|
||||
name = L["Show spell rank"],
|
||||
desc = L["Whether or not to show the rank of a spell being cast."],
|
||||
get = function()
|
||||
return self.moduleSettings.showSpellRank
|
||||
end,
|
||||
@ -103,12 +104,12 @@ function IceCastBar.prototype:GetOptions()
|
||||
|
||||
opts["iconSettings"] = {
|
||||
type = 'group',
|
||||
name = '|c'..self.configColor..'Icon Settings|r',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
args = {
|
||||
displayAuraIcon = {
|
||||
type = 'toggle',
|
||||
name = "Display aura icon",
|
||||
desc = "Whether or not to display an icon for the aura that this bar is tracking",
|
||||
name = L["Display aura icon"],
|
||||
desc = L["Whether or not to display an icon for the aura that this bar is tracking"],
|
||||
get = function()
|
||||
return self.moduleSettings.displayAuraIcon
|
||||
end,
|
||||
@ -133,8 +134,8 @@ function IceCastBar.prototype:GetOptions()
|
||||
min = -250,
|
||||
max = 250,
|
||||
step = 1,
|
||||
name = "Aura icon horizontal offset",
|
||||
desc = "Adjust the horizontal position of the aura icon",
|
||||
name = L["Aura icon horizontal offset"],
|
||||
desc = L["Adjust the horizontal position of the aura icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconXOffset
|
||||
end,
|
||||
@ -153,8 +154,8 @@ function IceCastBar.prototype:GetOptions()
|
||||
min = -250,
|
||||
max = 250,
|
||||
step = 1,
|
||||
name = "Aura icon vertical offset",
|
||||
desc = "Adjust the vertical position of the aura icon",
|
||||
name = L["Aura icon vertical offset"],
|
||||
desc = L["Adjust the vertical position of the aura icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconYOffset
|
||||
end,
|
||||
@ -173,8 +174,8 @@ function IceCastBar.prototype:GetOptions()
|
||||
min = 0.1,
|
||||
max = 3.0,
|
||||
step = 0.05,
|
||||
name = 'Aura icon scale',
|
||||
desc = 'Adjusts the size of the aura icon for this bar',
|
||||
name = L["Aura icon scale"],
|
||||
desc = L["Adjusts the size of the aura icon for this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconScale
|
||||
end,
|
||||
@ -192,8 +193,8 @@ function IceCastBar.prototype:GetOptions()
|
||||
|
||||
opts["reverseChannel"] = {
|
||||
type = 'toggle',
|
||||
name = "Reverse channeling",
|
||||
desc = "Whether or not to reverse the direction of the cast bar when a spell is being channeled. For example, if a normal cast causes this bar to fill up, then checking this option will cause a channeled spell to empty the bar instead.",
|
||||
name = L["Reverse channeling"],
|
||||
desc = L["Whether or not to reverse the direction of the cast bar when a spell is being channeled. For example, if a normal cast causes this bar to fill up, then checking this option will cause a channeled spell to empty the bar instead."],
|
||||
get = function()
|
||||
return self.moduleSettings.reverseChannel
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
function IceCore_CreateClass(parent)
|
||||
local class = { prototype = {} }
|
||||
if parent then
|
||||
@ -336,7 +337,7 @@ function IceCore.prototype:GetModuleOptions()
|
||||
options["aaaClickPlus"] = {
|
||||
type = 'description',
|
||||
fontSize = 'large',
|
||||
name = 'Click the + next to |cffffdc42Module Settings|r to see the available modules that you can tweak.\n\nAlso notice that some modules have a + next to them. This will open up additional settings such as text tweaks and icon tweaks on that module.',
|
||||
name = L["Click the + next to |cffffdc42Module Settings|r to see the available modules that you can tweak.\n\nAlso notice that some modules have a + next to them. This will open up additional settings such as text tweaks and icon tweaks on that module."],
|
||||
order = 1
|
||||
}
|
||||
|
||||
@ -345,7 +346,7 @@ function IceCore.prototype:GetModuleOptions()
|
||||
local opt = self.elements[i]:GetOptions()
|
||||
options[modName] = {
|
||||
type = 'group',
|
||||
desc = 'Module options',
|
||||
desc = L["Module options"],
|
||||
name = modName,
|
||||
args = opt
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local SML = LibStub("LibSharedMedia-3.0")
|
||||
|
||||
IceElement = IceCore_CreateClass()
|
||||
@ -118,8 +119,8 @@ function IceElement.prototype:GetOptions()
|
||||
|
||||
opts["enabled"] = {
|
||||
type = "toggle",
|
||||
name = "Enabled",
|
||||
desc = "Enable/disable module",
|
||||
name = L["Enabled"],
|
||||
desc = L["Enable/disable module"],
|
||||
get = function()
|
||||
return self.moduleSettings.enabled
|
||||
end,
|
||||
@ -136,15 +137,15 @@ function IceElement.prototype:GetOptions()
|
||||
|
||||
opts["headerVisibility"] = {
|
||||
type = 'header',
|
||||
name = 'Visibility Settings',
|
||||
name = L["Visibility Settings"],
|
||||
order = 27
|
||||
}
|
||||
|
||||
opts["scale"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = "Scale",
|
||||
desc = 'Scale of the element',
|
||||
name = L["Scale"],
|
||||
desc = L["Scale of the element"],
|
||||
min = 0.2,
|
||||
max = 2,
|
||||
step = 0.1,
|
||||
@ -166,8 +167,8 @@ function IceElement.prototype:GetOptions()
|
||||
opts["alwaysFullAlpha"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Always show at 100% alpha',
|
||||
desc = 'Whether to always show this module at 100% alpha or not',
|
||||
name = L["Always show at 100% alpha"],
|
||||
desc = L["Whether to always show this module at 100% alpha or not"],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.alwaysFullAlpha
|
||||
|
171
IceHUD.lua
171
IceHUD.lua
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceHUD = LibStub("AceAddon-3.0"):NewAddon("IceHUD", "AceConsole-3.0")
|
||||
|
||||
local SML = LibStub("LibSharedMedia-3.0")
|
||||
@ -43,21 +44,21 @@ IceHUD.Location = "Interface\\AddOns\\IceHUD"
|
||||
IceHUD.options =
|
||||
{
|
||||
type = 'group',
|
||||
name = "IceHUD",
|
||||
desc = "IceHUD",
|
||||
name = L["IceHUD"],
|
||||
desc = L["IceHUD"],
|
||||
icon = "Interface\\Icons\\Spell_Frost_Frost",
|
||||
args =
|
||||
{
|
||||
headerGeneral = {
|
||||
type = 'header',
|
||||
name = "General Settings",
|
||||
name = L["General Settings"],
|
||||
order = 10
|
||||
},
|
||||
|
||||
faq = {
|
||||
type = 'group',
|
||||
name = 'FAQs',
|
||||
desc = 'Answers to questions that are frequently asked.',
|
||||
name = L["FAQs"],
|
||||
desc = L["Answers to questions that are frequently asked."],
|
||||
order = 1,
|
||||
args = {
|
||||
test = {
|
||||
@ -104,14 +105,14 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
positioningSettings = {
|
||||
type = 'group',
|
||||
name = 'Positioning Settings',
|
||||
desc = 'Settings related to positioning and alpha',
|
||||
name = L["Positioning Settings"],
|
||||
desc = L["Settings related to positioning and alpha"],
|
||||
order = 11,
|
||||
args = {
|
||||
vpos = {
|
||||
type = 'range',
|
||||
name = 'Vertical position',
|
||||
desc = 'Vertical position',
|
||||
name = L["Vertical position"],
|
||||
desc = L["Vertical position"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetVerticalPos()
|
||||
end,
|
||||
@ -126,8 +127,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
hpos = {
|
||||
type = 'range',
|
||||
name = 'Horizontal position',
|
||||
desc = 'Horizontal position (for you dual screen freaks)',
|
||||
name = L["Horizontal position"],
|
||||
desc = L["Horizontal position (for you dual screen freaks)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetHorizontalPos()
|
||||
end,
|
||||
@ -142,8 +143,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
gap = {
|
||||
type = 'range',
|
||||
name = 'Gap',
|
||||
desc = 'Distance between the left and right bars',
|
||||
name = L["Gap"],
|
||||
desc = L["Distance between the left and right bars"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetGap()
|
||||
end,
|
||||
@ -158,8 +159,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
scale = {
|
||||
type = 'range',
|
||||
name = 'Scale',
|
||||
desc = 'HUD scale',
|
||||
name = L["Scale"],
|
||||
desc = L["HUD scale"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetScale()
|
||||
end,
|
||||
@ -178,20 +179,20 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaSettings = {
|
||||
type = 'group',
|
||||
name = 'Transparency Settings',
|
||||
desc = 'Settings for bar transparencies',
|
||||
name = L["Transparency Settings"],
|
||||
desc = L["Settings for bar transparencies"],
|
||||
order = 12,
|
||||
args = {
|
||||
headerAlpha = {
|
||||
type = 'header',
|
||||
name = "Bar Alpha",
|
||||
name = L["Bar Alpha"],
|
||||
order = 10
|
||||
},
|
||||
|
||||
alphaic = {
|
||||
type = 'range',
|
||||
name = 'Alpha in combat',
|
||||
desc = 'Bar alpha In Combat',
|
||||
name = L["Alpha in combat"],
|
||||
desc = L["Bar alpha In Combat"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlpha("IC")
|
||||
end,
|
||||
@ -207,8 +208,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaooc = {
|
||||
type = 'range',
|
||||
name = 'Alpha out of combat',
|
||||
desc = 'Bar alpha Out Of Combat without target',
|
||||
name = L["Alpha out of combat"],
|
||||
desc = L["Bar alpha Out Of Combat without target"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlpha("OOC")
|
||||
end,
|
||||
@ -224,8 +225,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaTarget = {
|
||||
type = 'range',
|
||||
name = 'Alpha OOC and Target',
|
||||
desc = 'Bar alpha Out Of Combat with target accuired (takes precedence over Not Full)',
|
||||
name = L["Alpha OOC and Target"],
|
||||
desc = L["Bar alpha Out Of Combat with target accuired (takes precedence over Not Full)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlpha("Target")
|
||||
end,
|
||||
@ -241,8 +242,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaNotFull = {
|
||||
type = 'range',
|
||||
name = 'Alpha OOC and not full',
|
||||
desc = 'Bar alpha Out Of Combat with target accuired or bar not full (Target takes precedence over this)',
|
||||
name = L["Alpha OOC and not full"],
|
||||
desc = L["Bar alpha Out Of Combat with target accuired or bar not full (Target takes precedence over this)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlpha("NotFull")
|
||||
end,
|
||||
@ -259,14 +260,14 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
headerAlphaBackground = {
|
||||
type = 'header',
|
||||
name = "Background Alpha",
|
||||
name = L["Background Alpha"],
|
||||
order = 20
|
||||
},
|
||||
|
||||
alphaicbg = {
|
||||
type = 'range',
|
||||
name = 'BG Alpha in combat',
|
||||
desc = 'Background alpha for bars IC',
|
||||
name = L["BG Alpha in combat"],
|
||||
desc = L["Background alpha for bars IC"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlphaBG("IC")
|
||||
end,
|
||||
@ -282,8 +283,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaoocbg = {
|
||||
type = 'range',
|
||||
name = 'BG Alpha out of combat',
|
||||
desc = 'Background alpha for bars OOC without target',
|
||||
name = L["BG Alpha out of combat"],
|
||||
desc = L["Background alpha for bars OOC without target"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlphaBG("OOC")
|
||||
end,
|
||||
@ -299,8 +300,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaTargetbg = {
|
||||
type = 'range',
|
||||
name = 'BG Alpha OOC and Target',
|
||||
desc = 'Background alpha for bars OOC and target accuired (takes precedence over Not Full)',
|
||||
name = L["BG Alpha OOC and Target"],
|
||||
desc = L["Background alpha for bars OOC and target accuired (takes precedence over Not Full)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlphaBG("Target")
|
||||
end,
|
||||
@ -316,8 +317,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
alphaNotFullbg = {
|
||||
type = 'range',
|
||||
name = 'BG Alpha OOC and not Full',
|
||||
desc = 'Background alpha for bars OOC and bar not full (Target takes precedence over this)',
|
||||
name = L["BG Alpha OOC and not Full"],
|
||||
desc = L["Background alpha for bars OOC and bar not full (Target takes precedence over this)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetAlphaBG("NotFull")
|
||||
end,
|
||||
@ -334,14 +335,14 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
headerBarAdvanced = {
|
||||
type = 'header',
|
||||
name = "Other",
|
||||
name = L["Other"],
|
||||
order = 30
|
||||
},
|
||||
|
||||
backgroundToggle = {
|
||||
type = "toggle",
|
||||
name = "Contextual Background",
|
||||
desc = "Toggles contextual background coloring",
|
||||
name = L["Contextual Background"],
|
||||
desc = L["Toggles contextual background coloring"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetBackgroundToggle()
|
||||
end,
|
||||
@ -353,8 +354,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
backgroundColor = {
|
||||
type = 'color',
|
||||
name = 'Background Color',
|
||||
desc = 'Background Color',
|
||||
name = L["Background Color"],
|
||||
desc = L["Background Color"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetBackgroundColor()
|
||||
end,
|
||||
@ -369,8 +370,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
textSettings = {
|
||||
type = 'select',
|
||||
name = 'Font',
|
||||
desc = 'IceHUD Font',
|
||||
name = L["Font"],
|
||||
desc = L["IceHUD Font"],
|
||||
order = 19,
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, IceHUD.IceCore:GetFontFamily())
|
||||
@ -384,14 +385,14 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
barSettings = {
|
||||
type = 'group',
|
||||
name = 'Bar Settings',
|
||||
desc = 'Settings related to bars',
|
||||
name = L["Bar Settings"],
|
||||
desc = L["Settings related to bars"],
|
||||
order = 20,
|
||||
args = {
|
||||
barPresets = {
|
||||
type = 'select',
|
||||
name = 'Presets',
|
||||
desc = 'Predefined settings for different bars',
|
||||
name = L["Presets"],
|
||||
desc = L["Predefined settings for different bars"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, IceHUD.IceCore:GetBarPreset())
|
||||
end,
|
||||
@ -405,14 +406,14 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
headerBarAdvanced = {
|
||||
type = 'header',
|
||||
name = "Advanced Bar Settings",
|
||||
name = L["Advanced Bar Settings"],
|
||||
order = 10
|
||||
},
|
||||
|
||||
barTexture = {
|
||||
type = 'select',
|
||||
name = 'Bar Texture',
|
||||
desc = 'IceHUD Bar Texture',
|
||||
name = L["Bar Texture"],
|
||||
desc = L["IceHUD Bar Texture"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, IceHUD.IceCore:GetBarTexture())
|
||||
end,
|
||||
@ -425,8 +426,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
barWidth = {
|
||||
type = 'range',
|
||||
name = 'Bar Width',
|
||||
desc = 'Bar texture width (not the actual bar!)',
|
||||
name = L["Bar Width"],
|
||||
desc = L["Bar texture width (not the actual bar!)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetBarWidth()
|
||||
end,
|
||||
@ -441,8 +442,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
barHeight = {
|
||||
type = 'range',
|
||||
name = 'Bar Height',
|
||||
desc = 'Bar texture height (not the actual bar!)',
|
||||
name = L["Bar Height"],
|
||||
desc = L["Bar texture height (not the actual bar!)"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetBarHeight()
|
||||
end,
|
||||
@ -457,8 +458,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
barProportion = {
|
||||
type = 'range',
|
||||
name = 'Bar Proportion',
|
||||
desc = 'Determines the bar width compared to the whole texture width',
|
||||
name = L["Bar Proportion"],
|
||||
desc = L["Determines the bar width compared to the whole texture width"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetBarProportion()
|
||||
end,
|
||||
@ -474,8 +475,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
barSpace = {
|
||||
type = 'range',
|
||||
name = 'Bar Space',
|
||||
desc = 'Space between bars on the same side',
|
||||
name = L["Bar Space"],
|
||||
desc = L["Space between bars on the same side"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetBarSpace()
|
||||
end,
|
||||
@ -490,8 +491,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
bgBlendMode = {
|
||||
type = 'select',
|
||||
name = 'Bar Background Blend Mode',
|
||||
desc = 'IceHUD Bar Background Blend mode',
|
||||
name = L["Bar Background Blend Mode"],
|
||||
desc = L["IceHUD Bar Background Blend mode"],
|
||||
get = function(info)
|
||||
return IceHUD.IceCore:GetBarBgBlendMode()
|
||||
end,
|
||||
@ -504,8 +505,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
barBlendMode = {
|
||||
type = 'select',
|
||||
name = 'Bar Blend Mode',
|
||||
desc = 'IceHUD Bar Blend mode',
|
||||
name = L["Bar Blend Mode"],
|
||||
desc = L["IceHUD Bar Blend mode"],
|
||||
get = function(info)
|
||||
return IceHUD.IceCore:GetBarBlendMode()
|
||||
end,
|
||||
@ -521,24 +522,24 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
modules = {
|
||||
type='group',
|
||||
desc = 'Module configuration options',
|
||||
name = 'Module Settings',
|
||||
desc = L["Module configuration options"],
|
||||
name = L["Module Settings"],
|
||||
args = {},
|
||||
order = 41
|
||||
},
|
||||
|
||||
colors = {
|
||||
type='group',
|
||||
desc = 'Module color configuration options',
|
||||
name = 'Colors',
|
||||
desc = L["Module color configuration options"],
|
||||
name = L["Colors"],
|
||||
args = {},
|
||||
order = 42
|
||||
},
|
||||
|
||||
enabled = {
|
||||
type = "toggle",
|
||||
name = "Enabled",
|
||||
desc = "Enable/disable IceHUD",
|
||||
name = L["Enabled"],
|
||||
desc = L["Enable/disable IceHUD"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:IsEnabled()
|
||||
end,
|
||||
@ -554,8 +555,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
debug = {
|
||||
type = "toggle",
|
||||
name = "Debugging",
|
||||
desc = "Enable/disable debug messages",
|
||||
name = L["Debugging"],
|
||||
desc = L["Enable/disable debug messages"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:GetDebug()
|
||||
end,
|
||||
@ -584,8 +585,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
customModuleSelect = {
|
||||
type = "select",
|
||||
name = "Create custom module",
|
||||
desc = "Select a custom module that you want to create here, then press the 'Create' button.",
|
||||
name = L["Create custom module"],
|
||||
desc = L["Select a custom module that you want to create here, then press the 'Create' button."],
|
||||
get = function(info)
|
||||
return lastCustomModule
|
||||
end,
|
||||
@ -598,8 +599,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
customModuleCreate = {
|
||||
type = "execute",
|
||||
name = "Create",
|
||||
desc = "Creates the selected custom module",
|
||||
name = L["Create"],
|
||||
desc = L["Creates the selected custom module"],
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(lastCustomModule)
|
||||
end,
|
||||
@ -608,8 +609,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
configMode = {
|
||||
type = 'toggle',
|
||||
name = 'Configuration Mode',
|
||||
desc = "Makes all modules visible so you can see where they're placed and find any that are overlapping.",
|
||||
name = L["Configuration Mode"],
|
||||
desc = L["Makes all modules visible so you can see where they're placed and find any that are overlapping."],
|
||||
get = function()
|
||||
return IceHUD.IceCore:IsInConfigMode()
|
||||
end,
|
||||
@ -621,8 +622,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
useDogTags = {
|
||||
type = 'toggle',
|
||||
name = 'Use Dog Tags',
|
||||
desc = 'Whether or not the addon should use the DogTag library (this will increase the CPU usage of the mod). DogTag controls all text displayed around bars such as health or mana amounts. Type |cffffff78/dog|r to see all DogTag options.\n\nNOTE: after changing this option, you must reload the UI or else bad things happen',
|
||||
name = L["Use Dog Tags"],
|
||||
desc = L["Whether or not the addon should use the DogTag library (this will increase the CPU usage of the mod). DogTag controls all text displayed around bars such as health or mana amounts. Type |cffffff78/dog|r to see all DogTag options.\n\nNOTE: after changing this option, you must reload the UI or else bad things happen"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:ShouldUseDogTags()
|
||||
end,
|
||||
@ -638,8 +639,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
updatePeriod = {
|
||||
type = 'range',
|
||||
name = 'Update Period',
|
||||
desc = 'Time between display updates in seconds',
|
||||
name = L["Update Period"],
|
||||
desc = L["Time between display updates in seconds"],
|
||||
get = function()
|
||||
return IceHUD.IceCore:UpdatePeriod()
|
||||
end,
|
||||
@ -654,8 +655,8 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
||||
|
||||
showMinimap = {
|
||||
type = 'toggle',
|
||||
name = "Show Minimap Icon",
|
||||
desc = "Whether or not to show an IceHUD icon on the minimap.",
|
||||
name = L["Show Minimap Icon"],
|
||||
desc = L["Whether or not to show an IceHUD icon on the minimap."],
|
||||
get = function(info)
|
||||
return not IceHUD.db.profile.minimap.hide
|
||||
end,
|
||||
@ -926,8 +927,8 @@ function IceHUD:SetupProfileImportButtons()
|
||||
AceSerializer:Embed(self)
|
||||
self.options.args.profiles.args.export = {
|
||||
type = 'execute',
|
||||
name = 'Export profile',
|
||||
desc = 'Exports your active profile to something you can copy and paste to another user or use on another account.',
|
||||
name = L["Export profile"],
|
||||
desc = L["Exports your active profile to something you can copy and paste to another user or use on another account."],
|
||||
func = function()
|
||||
local frame = AceGUI:Create("Frame")
|
||||
frame:SetTitle("Profile data")
|
||||
@ -967,8 +968,8 @@ function IceHUD:SetupProfileImportButtons()
|
||||
|
||||
self.options.args.profiles.args.import = {
|
||||
type = 'execute',
|
||||
name = 'Import profile',
|
||||
desc = "Imports a profile as exported from another user's IceHUD.",
|
||||
name = L["Import profile"],
|
||||
desc = L["Imports a profile as exported from another user's IceHUD."],
|
||||
func = function()
|
||||
local frame = AceGUI:Create("Frame")
|
||||
frame:SetTitle("Profile data")
|
||||
|
@ -15,6 +15,9 @@
|
||||
embeds.xml
|
||||
#@end-no-lib-strip@
|
||||
|
||||
# Localization
|
||||
loc\loc.xml
|
||||
|
||||
# IceHUD core functionality
|
||||
IceCore.lua
|
||||
IceHUD.lua
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceUnitBar = IceCore_CreateClass(IceBarElement)
|
||||
|
||||
IceUnitBar.prototype.unit = nil
|
||||
@ -69,8 +70,8 @@ function IceUnitBar.prototype:GetOptions()
|
||||
opts["lowThreshold"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Low Threshold',
|
||||
desc = 'Threshold of pulsing the bar (0 means never) (for player applies only to mana, not rage/energy/runic power)',
|
||||
name = L["Low Threshold"],
|
||||
desc = L["Threshold of pulsing the bar (0 means never) (for player applies only to mana, not rage/energy/runic power)"],
|
||||
get = function()
|
||||
return self.moduleSettings.lowThreshold
|
||||
end,
|
||||
@ -89,8 +90,8 @@ function IceUnitBar.prototype:GetOptions()
|
||||
}
|
||||
opts["lowThresholdFlash"] = {
|
||||
type = 'toggle',
|
||||
name = 'Flash bar below Low Threshold',
|
||||
desc = 'Flashes the bar when it is below the Low Threshold specified above',
|
||||
name = L["Flash bar below Low Threshold"],
|
||||
desc = L["Flashes the bar when it is below the Low Threshold specified above"],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.lowThresholdFlash
|
||||
@ -105,8 +106,8 @@ function IceUnitBar.prototype:GetOptions()
|
||||
}
|
||||
opts["lowThresholdColor"] = {
|
||||
type = "toggle",
|
||||
name = "Low Threshold color",
|
||||
desc = "Colors the bar minColor when % is < lowThreshold (requires scaleColor to be enabled)",
|
||||
name = L["Low Threshold color"],
|
||||
desc = L["Colors the bar minColor when % is < lowThreshold (requires scaleColor to be enabled)"],
|
||||
get = function()
|
||||
return self.moduleSettings.lowThresholdColor
|
||||
end,
|
||||
|
@ -9,6 +9,7 @@
|
||||
<Include file="libs\AceTimer-3.0\AceTimer-3.0.xml"/>
|
||||
<Include file="libs\AceConsole-3.0\AceConsole-3.0.xml"/>
|
||||
<Include file="libs\AceAddon-3.0\AceAddon-3.0.xml"/>
|
||||
<Include file="libs\AceLocale-3.0\AceLocale-3.0.xml"/>
|
||||
<Include file="libs\LibDogTag-3.0\lib.xml"/>
|
||||
<Include file="libs\LibDogTag-Unit-3.0\lib.xml"/>
|
||||
<Script file="libs\LibRangeCheck-2.0\LibRangeCheck-2.0.lua"/>
|
||||
|
4
loc/deDE.lua
Normal file
4
loc/deDE.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "deDE")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="deDE", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
8
loc/enUS.lua
Normal file
8
loc/enUS.lua
Normal file
@ -0,0 +1,8 @@
|
||||
local debug = false
|
||||
--@debug@
|
||||
debug = true
|
||||
--@end-debug@
|
||||
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "enUS", true, debug)
|
||||
|
||||
--@localization(locale="enUS", format="lua_additive_table", same-key-is-true=true, handle-subnamespaces="concat")@
|
4
loc/esES.lua
Normal file
4
loc/esES.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "esES")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="esES", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
4
loc/esMX.lua
Normal file
4
loc/esMX.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "esMX")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="esMX", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
4
loc/frFR.lua
Normal file
4
loc/frFR.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "frFR")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="frFR", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
4
loc/koKR.lua
Normal file
4
loc/koKR.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "koKR")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="koKR", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
13
loc/loc.xml
Normal file
13
loc/loc.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
||||
|
||||
<Script file="enUS.lua"/>
|
||||
<Script file="deDE.lua"/>
|
||||
<Script file="esES.lua"/>
|
||||
<Script file="esMX.lua"/>
|
||||
<Script file="frFR.lua"/>
|
||||
<Script file="koKR.lua"/>
|
||||
<Script file="ruRU.lua"/>
|
||||
<Script file="zhCN.lua"/>
|
||||
<Script file="zhTW.lua"/>
|
||||
|
||||
</Ui>
|
4
loc/ruRU.lua
Normal file
4
loc/ruRU.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "ruRU")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="ruRU", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
4
loc/zhCN.lua
Normal file
4
loc/zhCN.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "zhCN")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="zhCN", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
4
loc/zhTW.lua
Normal file
4
loc/zhTW.lua
Normal file
@ -0,0 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):NewLocale("IceHUD", "zhTW")
|
||||
if not L then return end
|
||||
|
||||
--@localization(locale="zhTW", format="lua_additive_table", handle-subnamespaces="concat", handle-unlocalized="english")@
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local CastBar = IceCore_CreateClass(IceCastBar)
|
||||
|
||||
CastBar.prototype.lagBar = nil
|
||||
@ -43,8 +44,8 @@ function CastBar.prototype:GetOptions()
|
||||
opts["flashInstants"] =
|
||||
{
|
||||
type = 'select',
|
||||
name = "Flash Instant Spells",
|
||||
desc = "Defines when cast bar should flash on instant spells",
|
||||
name = L["Flash Instant Spells"],
|
||||
desc = L["Defines when cast bar should flash on instant spells"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.flashInstants)
|
||||
end,
|
||||
@ -61,8 +62,8 @@ function CastBar.prototype:GetOptions()
|
||||
opts["flashFailures"] =
|
||||
{
|
||||
type = 'select',
|
||||
name = "Flash on Spell Failures",
|
||||
desc = "Defines when cast bar should flash on failed spells",
|
||||
name = L["Flash on Spell Failures"],
|
||||
desc = L["Defines when cast bar should flash on failed spells"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.flashFailures)
|
||||
end,
|
||||
@ -79,8 +80,8 @@ function CastBar.prototype:GetOptions()
|
||||
opts["lagAlpha"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Lag Indicator alpha',
|
||||
desc = 'Lag indicator alpha (0 is disabled)',
|
||||
name = L["Lag Indicator alpha"],
|
||||
desc = L["Lag indicator alpha (0 is disabled)"],
|
||||
min = 0,
|
||||
max = 1,
|
||||
step = 0.1,
|
||||
@ -100,8 +101,8 @@ function CastBar.prototype:GetOptions()
|
||||
opts["showBlizzCast"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Show default cast bar',
|
||||
desc = 'Whether or not to show the default cast bar.',
|
||||
name = L["Show default cast bar"],
|
||||
desc = L["Whether or not to show the default cast bar."],
|
||||
get = function()
|
||||
return self.moduleSettings.showBlizzCast
|
||||
end,
|
||||
@ -117,8 +118,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
desc = 'Toggle bar visibility',
|
||||
name = L["Bar visible"],
|
||||
desc = L["Toggle bar visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bar']
|
||||
end,
|
||||
@ -138,8 +139,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
opts["bgVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar background visible',
|
||||
desc = 'Toggle bar background visibility',
|
||||
name = L["Bar background visible"],
|
||||
desc = L["Toggle bar background visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bg']
|
||||
end,
|
||||
@ -159,8 +160,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
opts["rangeColor"] = {
|
||||
type = 'toggle',
|
||||
name = 'Change color when not in range',
|
||||
desc = 'Changes the bar color to the CastNotInRange color when the target goes out of range for the current spell.',
|
||||
name = L["Change color when not in range"],
|
||||
desc = L["Changes the bar color to the CastNotInRange color when the target goes out of range for the current spell."],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.rangeColor
|
||||
@ -177,8 +178,8 @@ function CastBar.prototype:GetOptions()
|
||||
opts["textSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
name = '|c' .. self.configColor .. 'Text Settings|r',
|
||||
desc = 'Settings related to texts',
|
||||
name = "|c"..self.configColor..L["Text Settings"].."|r",
|
||||
desc = L["Settings related to texts"],
|
||||
order = 32,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
@ -186,8 +187,8 @@ function CastBar.prototype:GetOptions()
|
||||
args = {
|
||||
fontsize = {
|
||||
type = 'range',
|
||||
name = 'Bar Font Size',
|
||||
desc = 'Bar Font Size',
|
||||
name = L["Bar Font Size"],
|
||||
desc = L["Bar Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.barFontSize
|
||||
end,
|
||||
@ -203,8 +204,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
lockFontAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock Bar Text Alpha",
|
||||
desc = "Locks text alpha to 100%",
|
||||
name = L["Lock Bar Text Alpha"],
|
||||
desc = L["Locks text alpha to 100%"],
|
||||
get = function()
|
||||
return self.moduleSettings.lockUpperTextAlpha
|
||||
end,
|
||||
@ -217,8 +218,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
upperTextVisible = {
|
||||
type = 'toggle',
|
||||
name = 'Spell cast text visible',
|
||||
desc = 'Toggle spell cast text visibility',
|
||||
name = L["Spell cast text visible"],
|
||||
desc = L["Toggle spell cast text visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.textVisible['upper']
|
||||
end,
|
||||
@ -231,8 +232,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
textVerticalOffset = {
|
||||
type = 'range',
|
||||
name = 'Text Vertical Offset',
|
||||
desc = 'Offset of the text from the bar vertically (negative is farther below)',
|
||||
name = L["Text Vertical Offset"],
|
||||
desc = L["Offset of the text from the bar vertically (negative is farther below)"],
|
||||
min = -250,
|
||||
max = 350,
|
||||
step = 1,
|
||||
@ -250,8 +251,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
textHorizontalOffset = {
|
||||
type = 'range',
|
||||
name = 'Text Horizontal Offset',
|
||||
desc = 'Offset of the text from the bar horizontally',
|
||||
name = L["Text Horizontal Offset"],
|
||||
desc = L["Offset of the text from the bar horizontally"],
|
||||
min = -350,
|
||||
max = 350,
|
||||
step = 1,
|
||||
@ -269,8 +270,8 @@ function CastBar.prototype:GetOptions()
|
||||
|
||||
forceJustifyText = {
|
||||
type = 'select',
|
||||
name = 'Force Text Justification',
|
||||
desc = 'This sets the alignment for the text on this bar',
|
||||
name = L["Force Text Justification"],
|
||||
desc = L["This sets the alignment for the text on this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.forceJustifyText
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceClassPowerCounter = IceCore_CreateClass(IceElement)
|
||||
|
||||
IceClassPowerCounter.prototype.runeHeight = 22
|
||||
@ -24,8 +25,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -44,8 +45,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -64,8 +65,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Frame",
|
||||
desc = "Hides Blizzard frame and disables all events related to it.\n\nNOTE: Blizzard attaches this UI to the player's unitframe, so if you have that hidden in PlayerHealth, then this won't do anything.",
|
||||
name = L["Hide Blizzard Frame"],
|
||||
desc = L["Hides Blizzard frame and disables all events related to it.\n\nNOTE: Blizzard attaches this UI to the player's unitframe, so if you have that hidden in PlayerHealth, then this won't do anything."],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
@ -85,8 +86,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["displayMode"] = {
|
||||
type = 'select',
|
||||
name = 'Display mode',
|
||||
desc = "Choose whether you'd like a graphical or numeric representation of the runes.\n\nNOTE: The color of 'Numeric' mode can be controlled by the HolyPowerNumeric color.",
|
||||
name = L["Display mode"],
|
||||
desc = L["Choose whether you'd like a graphical or numeric representation of the runes.\n\nNOTE: The color of 'Numeric' mode can be controlled by the HolyPowerNumeric color."],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.runeMode)
|
||||
end,
|
||||
@ -104,8 +105,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["runeGap"] = {
|
||||
type = 'range',
|
||||
name = 'Rune gap',
|
||||
desc = 'Spacing between each rune (only works for graphical mode)',
|
||||
name = L["Rune gap"],
|
||||
desc = L["Spacing between each rune (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
@ -127,8 +128,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["runeOrientation"] = {
|
||||
type = 'select',
|
||||
name = 'Rune orientation',
|
||||
desc = 'Whether the runes should draw side-by-side or on top of one another',
|
||||
name = L["Rune orientation"],
|
||||
desc = L["Whether the runes should draw side-by-side or on top of one another"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.displayMode)
|
||||
end,
|
||||
@ -148,8 +149,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["inactiveDisplayMode"] = {
|
||||
type = 'select',
|
||||
name = 'Inactive mode',
|
||||
desc = "This controls what happens to runes that are inactive. Darkened means they are visible but colored black, Hidden means they are not displayed.",
|
||||
name = L["Inactive mode"],
|
||||
desc = L["This controls what happens to runes that are inactive. Darkened means they are visible but colored black, Hidden means they are not displayed."],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.inactiveDisplayMode)
|
||||
end,
|
||||
@ -170,8 +171,8 @@ function IceClassPowerCounter.prototype:GetOptions()
|
||||
|
||||
opts["flashWhenReady"] = {
|
||||
type = "toggle",
|
||||
name = "Flash when ready",
|
||||
desc = "Shows a flash behind each holy rune when it becomes available.",
|
||||
name = L["Flash when ready"],
|
||||
desc = L["Shows a flash behind each holy rune when it becomes available."],
|
||||
get = function()
|
||||
return self.moduleSettings.flashWhenBecomingReady
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local ComboPoints = IceCore_CreateClass(IceElement)
|
||||
|
||||
ComboPoints.prototype.comboSize = 20
|
||||
@ -21,14 +22,14 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["headerLookAndFeel"] = {
|
||||
type = 'header',
|
||||
name = 'Look and Feel',
|
||||
name = L["Look and Feel"],
|
||||
order = 29.9
|
||||
}
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -47,8 +48,8 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -67,8 +68,8 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["comboFontSize"] = {
|
||||
type = "range",
|
||||
name = "Combo Points Font Size",
|
||||
desc = "Combo Points Font Size",
|
||||
name = L["Combo Points Font Size"],
|
||||
desc = L["Combo Points Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.comboFontSize
|
||||
end,
|
||||
@ -87,8 +88,8 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["comboMode"] = {
|
||||
type = 'select',
|
||||
name = "Display Mode",
|
||||
desc = "Show graphical or numeric combo points",
|
||||
name = L["Display Mode"],
|
||||
desc = L["Show graphical or numeric combo points"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.comboMode)
|
||||
end,
|
||||
@ -107,8 +108,8 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["graphicalLayout"] = {
|
||||
type = 'select',
|
||||
name = 'Layout',
|
||||
desc = 'How the graphical combo points should be displayed',
|
||||
name = L["Layout"],
|
||||
desc = L["How the graphical combo points should be displayed"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.graphicalLayout)
|
||||
end,
|
||||
@ -125,8 +126,8 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["comboGap"] = {
|
||||
type = 'range',
|
||||
name = 'Combo gap',
|
||||
desc = 'Spacing between each combo point (only works for graphical mode)',
|
||||
name = L["Combo gap"],
|
||||
desc = L["Spacing between each combo point (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
@ -145,8 +146,8 @@ function ComboPoints.prototype:GetOptions()
|
||||
|
||||
opts["gradient"] = {
|
||||
type = "toggle",
|
||||
name = "Change color",
|
||||
desc = "1 combo point: yellow, 5 combo points: red",
|
||||
name = L["Change color"],
|
||||
desc = L["1 combo point: yellow, 5 combo points: red"],
|
||||
get = function()
|
||||
return self.moduleSettings.gradient
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local ComboPointsBar = IceCore_CreateClass(IceBarElement)
|
||||
|
||||
function ComboPointsBar.prototype:init()
|
||||
@ -12,8 +13,8 @@ function ComboPointsBar.prototype:GetOptions()
|
||||
|
||||
opts["alwaysDisplay"] = {
|
||||
type = "toggle",
|
||||
name = "Always display bar",
|
||||
desc = "Whether this bar should hide when the player has 0 combo points or stay visible",
|
||||
name = L["Always display bar"],
|
||||
desc = L["Whether this bar should hide when the player has 0 combo points or stay visible"],
|
||||
get = function()
|
||||
return self.moduleSettings.alwaysDisplay
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceCustomBar = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
local validUnits = {"player", "target", "focus", "focustarget", "pet", "pettarget", "vehicle", "targettarget", "main hand weapon", "off hand weapon"}
|
||||
@ -144,14 +145,14 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["customHeader"] = {
|
||||
type = 'header',
|
||||
name = "Custom bar settings",
|
||||
name = L["Custom bar settings"],
|
||||
order = 30.1,
|
||||
}
|
||||
|
||||
opts["deleteme"] = {
|
||||
type = 'execute',
|
||||
name = 'Delete me',
|
||||
desc = 'Deletes this custom module and all associated settings. Cannot be undone!',
|
||||
name = L["Delete me"],
|
||||
desc = L["Deletes this custom module and all associated settings. Cannot be undone!"],
|
||||
func = function()
|
||||
local dialog = StaticPopup_Show("ICEHUD_DELETE_CUSTOM_MODULE")
|
||||
if dialog then
|
||||
@ -163,8 +164,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["duplicateme"] = {
|
||||
type = 'execute',
|
||||
name = 'Duplicate me',
|
||||
desc = 'Creates a new module of this same type and with all the same settings.',
|
||||
name = L["Duplicate me"],
|
||||
desc = L["Creates a new module of this same type and with all the same settings."],
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(self.moduleSettings.customBarType, self.moduleSettings)
|
||||
end,
|
||||
@ -173,8 +174,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["name"] = {
|
||||
type = 'input',
|
||||
name = 'Bar name',
|
||||
desc = 'The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Bar name"],
|
||||
desc = L["The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.elementName
|
||||
end,
|
||||
@ -193,8 +194,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
opts["unitToTrack"] = {
|
||||
type = 'select',
|
||||
values = validUnits,
|
||||
name = 'Unit to track',
|
||||
desc = 'Select which unit that this bar should be looking for buffs/debuffs on',
|
||||
name = L["Unit to track"],
|
||||
desc = L["Select which unit that this bar should be looking for buffs/debuffs on"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.myUnit)
|
||||
end,
|
||||
@ -215,8 +216,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
opts["buffOrDebuff"] = {
|
||||
type = 'select',
|
||||
values = buffOrDebuff,
|
||||
name = 'Buff or debuff?',
|
||||
desc = 'Whether we are tracking a buff or debuff',
|
||||
name = L["Buff or debuff?"],
|
||||
desc = L["Whether we are tracking a buff or debuff"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.buffOrDebuff)
|
||||
end,
|
||||
@ -233,8 +234,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["buffToTrack"] = {
|
||||
type = 'input',
|
||||
name = "Aura to track",
|
||||
desc = "Which buff/debuff this bar will be tracking.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.",
|
||||
name = L["Aura to track"],
|
||||
desc = L["Which buff/debuff this bar will be tracking.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.buffToTrack
|
||||
end,
|
||||
@ -255,8 +256,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["exactMatch"] = {
|
||||
type = 'toggle',
|
||||
name = 'Exact match only',
|
||||
desc = 'If this is checked, then the buff name must be entered exactly as the full buff name. Otherwise, you can use only a portion of the name such as "Sting" to track all stings.',
|
||||
name = L["Exact match only"],
|
||||
desc = L["If this is checked, then the buff name must be entered exactly as the full buff name. Otherwise, you can use only a portion of the name such as 'Sting' to track all stings."],
|
||||
get = function()
|
||||
return self.moduleSettings.exactMatch
|
||||
end,
|
||||
@ -273,8 +274,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["trackOnlyMine"] = {
|
||||
type = 'toggle',
|
||||
name = 'Only track auras by me',
|
||||
desc = 'Checking this means that only buffs or debuffs that the player applied will trigger this bar',
|
||||
name = L["Only track auras by me"],
|
||||
desc = L["Checking this means that only buffs or debuffs that the player applied will trigger this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.trackOnlyMine
|
||||
end,
|
||||
@ -291,8 +292,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["barColor"] = {
|
||||
type = 'color',
|
||||
name = 'Bar color',
|
||||
desc = 'The color for this bar',
|
||||
name = L["Bar color"],
|
||||
desc = L["The color for this bar"],
|
||||
get = function()
|
||||
return self:GetBarColor()
|
||||
end,
|
||||
@ -310,8 +311,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["displayWhenEmpty"] = {
|
||||
type = 'toggle',
|
||||
name = 'Display when empty',
|
||||
desc = 'Whether or not to display this bar even if the buff/debuff specified is not present.',
|
||||
name = L["Display when empty"],
|
||||
desc = L["Whether or not to display this bar even if the buff/debuff specified is not present."],
|
||||
get = function()
|
||||
return self.moduleSettings.displayWhenEmpty
|
||||
end,
|
||||
@ -327,8 +328,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["buffTimerDisplay"] = {
|
||||
type = 'select',
|
||||
name = 'Buff timer display',
|
||||
desc = 'How to display the buff timer next to the name of the buff on the bar',
|
||||
name = L["Buff timer display"],
|
||||
desc = L["How to display the buff timer next to the name of the buff on the bar"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.buffTimerDisplay)
|
||||
end,
|
||||
@ -345,8 +346,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["maxDuration"] = {
|
||||
type = 'input',
|
||||
name = "Maximum duration",
|
||||
desc = "Maximum Duration for the bar (the bar will remained full if it has longer than maximum remaining). Leave 0 for spell duration.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.",
|
||||
name = L["Maximum duration"],
|
||||
desc = L["Maximum Duration for the bar (the bar will remained full if it has longer than maximum remaining). Leave 0 for spell duration.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.maxDuration
|
||||
end,
|
||||
@ -366,12 +367,12 @@ function IceCustomBar.prototype:GetOptions()
|
||||
|
||||
opts["iconSettings"] = {
|
||||
type = 'group',
|
||||
name = '|c'..self.configColor..'Icon Settings|r',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
args = {
|
||||
displayAuraIcon = {
|
||||
type = 'toggle',
|
||||
name = "Display aura icon",
|
||||
desc = "Whether or not to display an icon for the aura that this bar is tracking",
|
||||
name = L["Display aura icon"],
|
||||
desc = L["Whether or not to display an icon for the aura that this bar is tracking"],
|
||||
get = function()
|
||||
return self.moduleSettings.displayAuraIcon
|
||||
end,
|
||||
@ -396,8 +397,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
min = -250,
|
||||
max = 250,
|
||||
step = 1,
|
||||
name = "Aura icon horizontal offset",
|
||||
desc = "Adjust the horizontal position of the aura icon",
|
||||
name = L["Aura icon horizontal offset"],
|
||||
desc = L["Adjust the horizontal position of the aura icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconXOffset
|
||||
end,
|
||||
@ -416,8 +417,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
min = -250,
|
||||
max = 250,
|
||||
step = 1,
|
||||
name = "Aura icon vertical offset",
|
||||
desc = "Adjust the vertical position of the aura icon",
|
||||
name = L["Aura icon vertical offset"],
|
||||
desc = L["Adjust the vertical position of the aura icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconYOffset
|
||||
end,
|
||||
@ -436,8 +437,8 @@ function IceCustomBar.prototype:GetOptions()
|
||||
min = 0.1,
|
||||
max = 3.0,
|
||||
step = 0.05,
|
||||
name = 'Aura icon scale',
|
||||
desc = 'Adjusts the size of the aura icon for this bar',
|
||||
name = L["Aura icon scale"],
|
||||
desc = L["Adjusts the size of the aura icon for this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconScale
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceCustomCDBar = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
|
||||
@ -131,14 +132,14 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["customHeader"] = {
|
||||
type = 'header',
|
||||
name = "Custom CD settings",
|
||||
name = L["Custom CD settings"],
|
||||
order = 30.1,
|
||||
}
|
||||
|
||||
opts["deleteme"] = {
|
||||
type = 'execute',
|
||||
name = 'Delete me',
|
||||
desc = 'Deletes this custom module and all associated settings. Cannot be undone!',
|
||||
name = L["Delete me"],
|
||||
desc = L["Deletes this custom module and all associated settings. Cannot be undone!"],
|
||||
func = function()
|
||||
local dialog = StaticPopup_Show("ICEHUD_DELETE_CUSTOM_MODULE")
|
||||
if dialog then
|
||||
@ -150,8 +151,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["duplicateme"] = {
|
||||
type = 'execute',
|
||||
name = 'Duplicate me',
|
||||
desc = 'Creates a new module of this same type and with all the same settings.',
|
||||
name = L["Duplicate me"],
|
||||
desc = L["Creates a new module of this same type and with all the same settings."],
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(self.moduleSettings.customBarType, self.moduleSettings)
|
||||
end,
|
||||
@ -160,8 +161,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["name"] = {
|
||||
type = 'input',
|
||||
name = 'Bar name',
|
||||
desc = 'The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Bar name"],
|
||||
desc = L["The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.elementName
|
||||
end,
|
||||
@ -179,8 +180,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["cooldownToTrack"] = {
|
||||
type = 'input',
|
||||
name = "Spell to track",
|
||||
desc = "Which spell cooldown this bar will be tracking.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.",
|
||||
name = L["Spell to track"],
|
||||
desc = L["Which spell cooldown this bar will be tracking.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.cooldownToTrack
|
||||
end,
|
||||
@ -202,8 +203,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["barColor"] = {
|
||||
type = 'color',
|
||||
name = 'Bar color',
|
||||
desc = 'The color for this bar',
|
||||
name = L["Bar color"],
|
||||
desc = L["The color for this bar"],
|
||||
get = function()
|
||||
return self:GetBarColor()
|
||||
end,
|
||||
@ -221,8 +222,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["displayMode"] = {
|
||||
type = 'select',
|
||||
name = 'Display mode',
|
||||
desc = 'When to display this bar.',
|
||||
name = L["Display mode"],
|
||||
desc = L["When to display this bar."],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.displayMode)
|
||||
end,
|
||||
@ -239,8 +240,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["cooldownTimerDisplay"] = {
|
||||
type = 'select',
|
||||
name = 'Cooldown timer display',
|
||||
desc = 'How to display the buff timer next to the name of the buff on the bar',
|
||||
name = L["Cooldown timer display"],
|
||||
desc = L["How to display the buff timer next to the name of the buff on the bar"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.cooldownTimerDisplay)
|
||||
end,
|
||||
@ -257,8 +258,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["maxDuration"] = {
|
||||
type = 'input',
|
||||
name = "Maximum duration",
|
||||
desc = "Maximum Duration for the bar (the bar will remained full if it has longer than maximum remaining). Leave 0 for spell duration.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.",
|
||||
name = L["Maximum duration"],
|
||||
desc = L["Maximum Duration for the bar (the bar will remained full if it has longer than maximum remaining). Leave 0 for spell duration.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.maxDuration
|
||||
end,
|
||||
@ -278,12 +279,12 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
|
||||
opts["iconSettings"] = {
|
||||
type = 'group',
|
||||
name = '|c'..self.configColor..'Icon Settings|r',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
args = {
|
||||
displayAuraIcon = {
|
||||
type = 'toggle',
|
||||
name = "Display aura icon",
|
||||
desc = "Whether or not to display an icon for the aura that this bar is tracking",
|
||||
name = L["Display aura icon"],
|
||||
desc = L["Whether or not to display an icon for the aura that this bar is tracking"],
|
||||
get = function()
|
||||
return self.moduleSettings.displayAuraIcon
|
||||
end,
|
||||
@ -302,8 +303,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
min = -250,
|
||||
max = 250,
|
||||
step = 1,
|
||||
name = "Aura icon horizontal offset",
|
||||
desc = "Adjust the horizontal position of the aura icon",
|
||||
name = L["Aura icon horizontal offset"],
|
||||
desc = L["Adjust the horizontal position of the aura icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconXOffset
|
||||
end,
|
||||
@ -322,8 +323,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
min = -250,
|
||||
max = 250,
|
||||
step = 1,
|
||||
name = "Aura icon vertical offset",
|
||||
desc = "Adjust the vertical position of the aura icon",
|
||||
name = L["Aura icon vertical offset"],
|
||||
desc = L["Adjust the vertical position of the aura icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconYOffset
|
||||
end,
|
||||
@ -342,8 +343,8 @@ function IceCustomCDBar.prototype:GetOptions()
|
||||
min = 0.1,
|
||||
max = 3.0,
|
||||
step = 0.05,
|
||||
name = 'Aura icon scale',
|
||||
desc = 'Adjusts the size of the aura icon for this bar',
|
||||
name = L["Aura icon scale"],
|
||||
desc = L["Adjusts the size of the aura icon for this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.auraIconScale
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceCustomCount = IceCore_CreateClass(IceElement)
|
||||
|
||||
IceCustomCount.prototype.countSize = 20
|
||||
@ -20,14 +21,14 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["customHeader"] = {
|
||||
type = 'header',
|
||||
name = "Aura settings",
|
||||
name = L["Aura settings"],
|
||||
order = 30.1,
|
||||
}
|
||||
|
||||
opts["deleteme"] = {
|
||||
type = 'execute',
|
||||
name = 'Delete me',
|
||||
desc = 'Deletes this custom module and all associated settings. Cannot be undone!',
|
||||
name = L["Delete me"],
|
||||
desc = L["Deletes this custom module and all associated settings. Cannot be undone!"],
|
||||
func = function()
|
||||
local dialog = StaticPopup_Show("ICEHUD_DELETE_CUSTOM_MODULE")
|
||||
if dialog then
|
||||
@ -39,8 +40,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["duplicateme"] = {
|
||||
type = 'execute',
|
||||
name = 'Duplicate me',
|
||||
desc = 'Creates a new module of this same type and with all the same settings.',
|
||||
name = L["Duplicate me"],
|
||||
desc = L["Creates a new module of this same type and with all the same settings."],
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(self.moduleSettings.customBarType, self.moduleSettings)
|
||||
end,
|
||||
@ -49,8 +50,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["name"] = {
|
||||
type = 'input',
|
||||
name = 'Counter name',
|
||||
desc = 'The name of this counter (must be unique!). \n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Counter name"],
|
||||
desc = L["The name of this counter (must be unique!). \n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.elementName
|
||||
end,
|
||||
@ -69,8 +70,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
opts["auraTarget"] = {
|
||||
type = 'select',
|
||||
values = validUnits,
|
||||
name = 'Unit to track',
|
||||
desc = 'Select which unit that this bar should be looking for buffs/debuffs on',
|
||||
name = L["Unit to track"],
|
||||
desc = L["Select which unit that this bar should be looking for buffs/debuffs on"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.auraTarget)
|
||||
end,
|
||||
@ -89,8 +90,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
opts["auraType"] = {
|
||||
type = 'select',
|
||||
values = buffOrDebuff,
|
||||
name = 'Buff or debuff?',
|
||||
desc = 'Whether we are tracking a buff or debuff',
|
||||
name = L["Buff or debuff?"],
|
||||
desc = L["Whether we are tracking a buff or debuff"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.auraType)
|
||||
end,
|
||||
@ -106,8 +107,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["auraName"] = {
|
||||
type = 'input',
|
||||
name = "Aura to track",
|
||||
desc = "Which buff/debuff this counter will be tracking. \n\nRemember to press ENTER after filling out this box with the name you want or it will not save.",
|
||||
name = L["Aura to track"],
|
||||
desc = L["Which buff/debuff this counter will be tracking. \n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.auraName
|
||||
end,
|
||||
@ -124,8 +125,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["trackOnlyMine"] = {
|
||||
type = 'toggle',
|
||||
name = 'Only track auras by me',
|
||||
desc = 'Checking this means that only buffs or debuffs that the player applied will trigger this bar',
|
||||
name = L["Only track auras by me"],
|
||||
desc = L["Checking this means that only buffs or debuffs that the player applied will trigger this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.onlyMine
|
||||
end,
|
||||
@ -141,8 +142,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["countColor"] = {
|
||||
type = 'color',
|
||||
name = 'Count color',
|
||||
desc = 'The color for this counter',
|
||||
name = L["Count color"],
|
||||
desc = L["The color for this counter"],
|
||||
get = function()
|
||||
return self:GetCustomColor()
|
||||
end,
|
||||
@ -160,8 +161,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["countMinColor"] = {
|
||||
type = 'color',
|
||||
name = 'Count minimum color',
|
||||
desc = 'The minimum color for this counter (only used if Change Color is enabled)',
|
||||
name = L["Count minimum color"],
|
||||
desc = L["The minimum color for this counter (only used if Change Color is enabled)"],
|
||||
get = function()
|
||||
return self:GetCustomMinColor()
|
||||
end,
|
||||
@ -179,8 +180,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["maxCount"] = {
|
||||
type = 'input',
|
||||
name = "Maximum applications",
|
||||
desc = "How many total applications of this buff/debuff can be applied. For example, only 5 sunders can ever be on a target, so this would be set to 5 for tracking Sunder.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.",
|
||||
name = L["Maximum applications"],
|
||||
desc = L["How many total applications of this buff/debuff can be applied. For example, only 5 sunders can ever be on a target, so this would be set to 5 for tracking Sunder.\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.maxCount
|
||||
end,
|
||||
@ -200,14 +201,14 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["normalHeader"] = {
|
||||
type = 'header',
|
||||
name = "Counter look and feel",
|
||||
name = L["Counter look and feel"],
|
||||
order = 31,
|
||||
}
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -226,8 +227,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -246,8 +247,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["CustomFontSize"] = {
|
||||
type = "range",
|
||||
name = "Font Size",
|
||||
desc = "Font Size",
|
||||
name = L["Font Size"],
|
||||
desc = L["Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.countFontSize
|
||||
end,
|
||||
@ -266,8 +267,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["CustomMode"] = {
|
||||
type = 'select',
|
||||
name = "Display Mode",
|
||||
desc = "Show graphical or numeric counts",
|
||||
name = L["Display Mode"],
|
||||
desc = L["Show graphical or numeric counts"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.countMode)
|
||||
end,
|
||||
@ -286,8 +287,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["graphicalLayout"] = {
|
||||
type = 'select',
|
||||
name = 'Layout',
|
||||
desc = 'How the graphical counter should be displayed',
|
||||
name = L["Layout"],
|
||||
desc = L["How the graphical counter should be displayed"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.graphicalLayout)
|
||||
end,
|
||||
@ -304,8 +305,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["countGap"] = {
|
||||
type = 'range',
|
||||
name = 'Icon gap',
|
||||
desc = 'Spacing between each icon (only works for graphical mode)',
|
||||
name = L["Icon gap"],
|
||||
desc = L["Spacing between each icon (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
@ -324,8 +325,8 @@ function IceCustomCount.prototype:GetOptions()
|
||||
|
||||
opts["gradient"] = {
|
||||
type = "toggle",
|
||||
name = "Change color",
|
||||
desc = "This will fade the bars or numeric representation from the min color specified to the regular color\n\n(e.g. if the min color is yellow, the color is red, and there are 3 total applications, then the first would be yellow, second orange, and third red)",
|
||||
name = L["Change color"],
|
||||
desc = L["This will fade the bars or numeric representation from the min color specified to the regular color\n\n(e.g. if the min color is yellow, the color is red, and there are 3 total applications, then the first would be yellow, second orange, and third red)"],
|
||||
get = function()
|
||||
return self.moduleSettings.gradient
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceCustomHealth = IceCore_CreateClass(IceTargetHealth)
|
||||
IceCustomHealth.prototype.scheduledEvent = nil
|
||||
|
||||
@ -35,14 +36,14 @@ function IceCustomHealth.prototype:GetOptions()
|
||||
|
||||
opts["customHeader"] = {
|
||||
type = 'header',
|
||||
name = "Custom bar settings",
|
||||
name = L["Custom bar settings"],
|
||||
order = 30.1,
|
||||
}
|
||||
|
||||
opts["deleteme"] = {
|
||||
type = 'execute',
|
||||
name = 'Delete me',
|
||||
desc = 'Deletes this custom module and all associated settings. Cannot be undone!',
|
||||
name = L["Delete me"],
|
||||
desc = L["Deletes this custom module and all associated settings. Cannot be undone!"],
|
||||
func = function()
|
||||
local dialog = StaticPopup_Show("ICEHUD_DELETE_CUSTOM_MODULE")
|
||||
if dialog then
|
||||
@ -54,8 +55,8 @@ function IceCustomHealth.prototype:GetOptions()
|
||||
|
||||
opts["duplicateme"] = {
|
||||
type = 'execute',
|
||||
name = 'Duplicate me',
|
||||
desc = 'Creates a new module of this same type and with all the same settings.',
|
||||
name = L["Duplicate me"],
|
||||
desc = L["Creates a new module of this same type and with all the same settings."],
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(self.moduleSettings.customBarType, self.moduleSettings)
|
||||
end,
|
||||
@ -64,8 +65,8 @@ function IceCustomHealth.prototype:GetOptions()
|
||||
|
||||
opts["name"] = {
|
||||
type = 'input',
|
||||
name = 'Bar name',
|
||||
desc = 'The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Bar name"],
|
||||
desc = L["The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.elementName
|
||||
end,
|
||||
@ -83,8 +84,8 @@ function IceCustomHealth.prototype:GetOptions()
|
||||
|
||||
opts["unitToTrack"] = {
|
||||
type = 'input',
|
||||
name = 'Unit to track',
|
||||
desc = 'Enter which unit that this bar should be monitoring the health of (e.g.: focustarget, pettarget, etc.)\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Unit to track"],
|
||||
desc = L["Enter which unit that this bar should be monitoring the health of (e.g.: focustarget, pettarget, etc.)\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.unitToTrack
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceCustomMana = IceCore_CreateClass(IceTargetMana)
|
||||
IceCustomMana.prototype.scheduledEvent = nil
|
||||
|
||||
@ -36,14 +37,14 @@ function IceCustomMana.prototype:GetOptions()
|
||||
|
||||
opts["customHeader"] = {
|
||||
type = 'header',
|
||||
name = "Custom bar settings",
|
||||
name = L["Custom bar settings"],
|
||||
order = 30.1,
|
||||
}
|
||||
|
||||
opts["deleteme"] = {
|
||||
type = 'execute',
|
||||
name = 'Delete me',
|
||||
desc = 'Deletes this custom module and all associated settings. Cannot be undone!',
|
||||
name = L["Delete me"],
|
||||
desc = L["Deletes this custom module and all associated settings. Cannot be undone!"],
|
||||
func = function()
|
||||
local dialog = StaticPopup_Show("ICEHUD_DELETE_CUSTOM_MODULE")
|
||||
if dialog then
|
||||
@ -55,8 +56,8 @@ function IceCustomMana.prototype:GetOptions()
|
||||
|
||||
opts["duplicateme"] = {
|
||||
type = 'execute',
|
||||
name = 'Duplicate me',
|
||||
desc = 'Creates a new module of this same type and with all the same settings.',
|
||||
name = L["Duplicate me"],
|
||||
desc = L["Creates a new module of this same type and with all the same settings."],
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(self.moduleSettings.customBarType, self.moduleSettings)
|
||||
end,
|
||||
@ -65,8 +66,8 @@ function IceCustomMana.prototype:GetOptions()
|
||||
|
||||
opts["name"] = {
|
||||
type = 'input',
|
||||
name = 'Bar name',
|
||||
desc = 'The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Bar name"],
|
||||
desc = L["The name of this bar (must be unique!).\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.elementName
|
||||
end,
|
||||
@ -84,8 +85,8 @@ function IceCustomMana.prototype:GetOptions()
|
||||
|
||||
opts["unitToTrack"] = {
|
||||
type = 'input',
|
||||
name = 'Unit to track',
|
||||
desc = 'Enter which unit that this bar should be monitoring the mana of (e.g.: focustarget, pettarget, etc.)\n\nRemember to press ENTER after filling out this box with the name you want or it will not save.',
|
||||
name = L["Unit to track"],
|
||||
desc = L["Enter which unit that this bar should be monitoring the mana of (e.g.: focustarget, pettarget, etc.)\n\nRemember to press ENTER after filling out this box with the name you want or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.unitToTrack
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local DruidMana = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
DruidMana.prototype.druidMana = nil
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local EclipseBar = IceCore_CreateClass(IceBarElement)
|
||||
EclipseBar.prototype.barUpdateColor = "EclipseLunar"
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
-- changed to inherit from the TargetCC bar since the only difference is the unit and the default placement
|
||||
-- helps keep changes in one place and we don't have to duplicate the CC spell tables and they don't have to be globals
|
||||
local FocusCC = IceCore_CreateClass(TargetCC)
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local FocusCast = IceCore_CreateClass(IceCastBar)
|
||||
|
||||
-- Constructor --
|
||||
@ -64,8 +65,8 @@ function FocusCast.prototype:GetOptions()
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
desc = 'Toggle bar visibility',
|
||||
name = L["Bar visible"],
|
||||
desc = L["Toggle bar visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bar']
|
||||
end,
|
||||
@ -85,8 +86,8 @@ function FocusCast.prototype:GetOptions()
|
||||
|
||||
opts["bgVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar background visible',
|
||||
desc = 'Toggle bar background visibility',
|
||||
name = L["Bar background visible"],
|
||||
desc = L["Toggle bar background visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bg']
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local FocusHealth = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
FocusHealth.prototype.color = nil
|
||||
@ -43,8 +44,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
opts["classColor"] = {
|
||||
type = "toggle",
|
||||
name = "Class color bar",
|
||||
desc = "Use class color as the bar color instead of reaction color",
|
||||
name = L["Class color bar"],
|
||||
desc = L["Use class color as the bar color instead of reaction color"],
|
||||
get = function()
|
||||
return self.moduleSettings.classColor
|
||||
end,
|
||||
@ -60,8 +61,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Frame",
|
||||
desc = "Hides Blizzard Focus frame and disables all events related to it",
|
||||
name = L["Hide Blizzard Frame"],
|
||||
desc = L["Hides Blizzard Focus frame and disables all events related to it"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
@ -81,8 +82,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
opts["scaleHealthColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by health %",
|
||||
desc = "Colors the health bar from MaxHealthColor to MinHealthColor based on current health %",
|
||||
name = L["Color bar by health %"],
|
||||
desc = L["Colors the health bar from MaxHealthColor to MinHealthColor based on current health %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleHealthColor
|
||||
end,
|
||||
@ -98,12 +99,12 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
opts["iconSettings"] = {
|
||||
type = 'group',
|
||||
name = '|c'..self.configColor..'Icon Settings|r',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
args = {
|
||||
showRaidIcon = {
|
||||
type = "toggle",
|
||||
name = "Show Raid Icon",
|
||||
desc = "Whether or not to show the raid icon above this bar",
|
||||
name = L["Show Raid Icon"],
|
||||
desc = L["Whether or not to show the raid icon above this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.showRaidIcon
|
||||
end,
|
||||
@ -119,8 +120,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
lockIconAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock raid icon to 100% alpha",
|
||||
desc = "With this enabled, the raid icon is always 100% alpha, regardless of the bar's alpha. Otherwise, it assumes the bar's alpha level.",
|
||||
name = L["Lock raid icon to 100% alpha"],
|
||||
desc = L["With this enabled, the raid icon is always 100% alpha, regardless of the bar's alpha. Otherwise, it assumes the bar's alpha level."],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.lockIconAlpha
|
||||
@ -137,8 +138,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
raidIconOnTop = {
|
||||
type = "toggle",
|
||||
name = "Draw Raid Icon On Top",
|
||||
desc = "Whether to draw the raid icon in front of or behind this bar",
|
||||
name = L["Draw Raid Icon On Top"],
|
||||
desc = L["Whether to draw the raid icon in front of or behind this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.raidIconOnTop
|
||||
end,
|
||||
@ -154,8 +155,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
raidIconXOffset = {
|
||||
type = "range",
|
||||
name = "Raid Icon X Offset",
|
||||
desc = "How far to push the raid icon right or left",
|
||||
name = L["Raid Icon X Offset"],
|
||||
desc = L["How far to push the raid icon right or left"],
|
||||
min = -300,
|
||||
max = 300,
|
||||
step = 1,
|
||||
@ -175,8 +176,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
raidIconYOffset = {
|
||||
type = "range",
|
||||
name = "Raid Icon Y Offset",
|
||||
desc = "How far to push the raid icon up or down",
|
||||
name = L["Raid Icon Y Offset"],
|
||||
desc = L["How far to push the raid icon up or down"],
|
||||
min = -300,
|
||||
max = 300,
|
||||
step = 1,
|
||||
@ -198,8 +199,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
opts["shortenHealth"] = {
|
||||
type = 'toggle',
|
||||
name = 'Abbreviate health',
|
||||
desc = 'If this is checked, then a health value of 1100 will display as 1.1k, otherwise it shows the number\n\nNote: this only applies if you are NOT using DogTag',
|
||||
name = L["Abbreviate health"],
|
||||
desc = L["If this is checked, then a health value of 1100 will display as 1.1k, otherwise it shows the number\n\nNote: this only applies if you are NOT using DogTag"],
|
||||
get = function()
|
||||
return self.moduleSettings.abbreviateHealth
|
||||
end,
|
||||
@ -214,8 +215,8 @@ function FocusHealth.prototype:GetOptions()
|
||||
|
||||
opts["allowClickTarget"] = {
|
||||
type = 'toggle',
|
||||
name = 'Allow click-targeting',
|
||||
desc = 'Whether or not to allow click targeting/casting for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)',
|
||||
name = L["Allow click-targeting"],
|
||||
desc = L["Whether or not to allow click targeting/casting for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)"],
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteraction
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local FocusMana = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
|
||||
@ -105,8 +106,8 @@ function FocusMana.prototype:GetOptions()
|
||||
|
||||
opts["scaleManaColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by mana %",
|
||||
desc = "Colors the mana bar from MaxManaColor to MinManaColor based on current mana %",
|
||||
name = L["Color bar by mana %"],
|
||||
desc = L["Colors the mana bar from MaxManaColor to MinManaColor based on current mana %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleManaColor
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local IceFocusThreat = IceCore_CreateClass(IceThreat)
|
||||
|
||||
-- constructor
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local GlobalCoolDown = IceCore_CreateClass(IceBarElement)
|
||||
|
||||
-- Constructor --
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local HolyPower = IceCore_CreateClass(IceClassPowerCounter)
|
||||
|
||||
function HolyPower.prototype:init()
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local HungerForBlood = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
local hfbEndTime = 0
|
||||
@ -72,8 +73,8 @@ function HungerForBlood.prototype:GetOptions()
|
||||
|
||||
opts["allowClickCast"] = {
|
||||
type = 'toggle',
|
||||
name = 'Allow click casting',
|
||||
desc = 'Whether or not to allow click casting of Hunger For Blood',
|
||||
name = L["Allow click casting"],
|
||||
desc = L["Whether or not to allow click casting of Hunger For Blood"],
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteraction
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local LacerateCount = IceCore_CreateClass(IceElement)
|
||||
|
||||
LacerateCount.prototype.lacerateSize = 20
|
||||
@ -21,8 +22,8 @@ function LacerateCount.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -41,8 +42,8 @@ function LacerateCount.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -61,8 +62,8 @@ function LacerateCount.prototype:GetOptions()
|
||||
|
||||
opts["lacerateFontSize"] = {
|
||||
type = "range",
|
||||
name = "Lacerate Count Font Size",
|
||||
desc = "Lacerate Count Font Size",
|
||||
name = L["Lacerate Count Font Size"],
|
||||
desc = L["Lacerate Count Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.lacerateFontSize
|
||||
end,
|
||||
@ -81,8 +82,8 @@ function LacerateCount.prototype:GetOptions()
|
||||
|
||||
opts["lacerateMode"] = {
|
||||
type = 'select',
|
||||
name = "Display Mode",
|
||||
desc = "Show graphical or numeric lacerates",
|
||||
name = L["Display Mode"],
|
||||
desc = L["Show graphical or numeric lacerates"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.lacerateMode)
|
||||
end,
|
||||
@ -101,8 +102,8 @@ function LacerateCount.prototype:GetOptions()
|
||||
|
||||
opts["lacerateGap"] = {
|
||||
type = 'range',
|
||||
name = 'Lacerate gap',
|
||||
desc = 'Spacing between each lacerate count (only works for graphical mode)',
|
||||
name = L["Lacerate gap"],
|
||||
desc = L["Spacing between each lacerate count (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
@ -121,8 +122,8 @@ function LacerateCount.prototype:GetOptions()
|
||||
|
||||
opts["gradient"] = {
|
||||
type = "toggle",
|
||||
name = "Change color",
|
||||
desc = "1 lacerate: yellow, 5 lacerates: red",
|
||||
name = L["Change color"],
|
||||
desc = L["1 lacerate: yellow, 5 lacerates: red"],
|
||||
get = function()
|
||||
return self.moduleSettings.gradient
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local MaelstromCount = IceCore_CreateClass(IceElement)
|
||||
|
||||
MaelstromCount.prototype.maelstromSize = 20
|
||||
@ -21,8 +22,8 @@ function MaelstromCount.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -41,8 +42,8 @@ function MaelstromCount.prototype:GetOptions()
|
||||
|
||||
opts["maelstromFontSize"] = {
|
||||
type = "range",
|
||||
name = "Maelstrom Count Font Size",
|
||||
desc = "Maelstrom Count Font Size",
|
||||
name = L["Maelstrom Count Font Size"],
|
||||
desc = L["Maelstrom Count Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.maelstromFontSize
|
||||
end,
|
||||
@ -61,8 +62,8 @@ function MaelstromCount.prototype:GetOptions()
|
||||
|
||||
opts["maelstromMode"] = {
|
||||
type = 'select',
|
||||
name = "Display Mode",
|
||||
desc = "Show graphical or numeric maelstroms",
|
||||
name = L["Display Mode"],
|
||||
desc = L["Show graphical or numeric maelstroms"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.maelstromMode)
|
||||
end,
|
||||
@ -81,8 +82,8 @@ function MaelstromCount.prototype:GetOptions()
|
||||
|
||||
opts["maelstromGap"] = {
|
||||
type = 'range',
|
||||
name = 'Maelstrom gap',
|
||||
desc = 'Spacing between each maelstrom point (only works for graphical mode)',
|
||||
name = L["Maelstrom gap"],
|
||||
desc = L["Spacing between each maelstrom point (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
@ -101,8 +102,8 @@ function MaelstromCount.prototype:GetOptions()
|
||||
|
||||
opts["gradient"] = {
|
||||
type = "toggle",
|
||||
name = "Change color",
|
||||
desc = "1 maelstrom: yellow, 5 maelstroms: red",
|
||||
name = L["Change color"],
|
||||
desc = L["1 maelstrom: yellow, 5 maelstroms: red"],
|
||||
get = function()
|
||||
return self.moduleSettings.gradient
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
-- 2 classes in the same file.. ugly but keeps the idea of
|
||||
-- "1 module = 1 file" intact
|
||||
|
||||
@ -192,15 +193,15 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
opts["headerLookAndFeel"] = {
|
||||
type = 'header',
|
||||
name = 'Look and Feel',
|
||||
name = L["Look and Feel"],
|
||||
order = 29.9
|
||||
}
|
||||
|
||||
opts["side"] =
|
||||
{
|
||||
type = 'select',
|
||||
name = 'Side',
|
||||
desc = 'Side of the HUD where the bar appears',
|
||||
name = L["Side"],
|
||||
desc = L["Side of the HUD where the bar appears"],
|
||||
get = function(info)
|
||||
if (self.moduleSettings.side == IceCore.Side.Right) then
|
||||
return 2
|
||||
@ -223,8 +224,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
opts["offset"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Offset',
|
||||
desc = 'Offset of the bar',
|
||||
name = L["Offset"],
|
||||
desc = L["Offset of the bar"],
|
||||
min = -1,
|
||||
max = 10,
|
||||
step = 1,
|
||||
@ -240,8 +241,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
desc = 'Toggle bar visibility',
|
||||
name = L["Bar visible"],
|
||||
desc = L["Toggle bar visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bar']
|
||||
end,
|
||||
@ -257,8 +258,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
opts["bgVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar background visible',
|
||||
desc = 'Toggle bar background visibility',
|
||||
name = L["Bar background visible"],
|
||||
desc = L["Toggle bar background visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bg']
|
||||
end,
|
||||
@ -275,8 +276,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
opts["barVerticalOffset"] =
|
||||
{
|
||||
type='range',
|
||||
name = 'Bar vertical offset',
|
||||
desc = 'Adjust the vertical placement of this bar',
|
||||
name = L["Bar vertical offset"],
|
||||
desc = L["Adjust the vertical placement of this bar"],
|
||||
min = -400,
|
||||
max = 400,
|
||||
step = 1,
|
||||
@ -296,14 +297,14 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
opts["textSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
name = '|c' .. self.configColor .. 'Text Settings|r',
|
||||
desc = 'Settings related to texts',
|
||||
name = "|c"..self.configColor..L["Text Settings"].."|r",
|
||||
desc = L["Settings related to texts"],
|
||||
order = 32,
|
||||
args = {
|
||||
fontsize = {
|
||||
type = 'range',
|
||||
name = 'Bar Font Size',
|
||||
desc = 'Bar Font Size',
|
||||
name = L["Bar Font Size"],
|
||||
desc = L["Bar Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.barFontSize
|
||||
end,
|
||||
@ -319,8 +320,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
fontBold = {
|
||||
type = 'toggle',
|
||||
name = 'Bar Font Bold',
|
||||
desc = 'If you have game default font selected, this option has no effect',
|
||||
name = L["Bar Font Bold"],
|
||||
desc = L["If you have game default font selected, this option has no effect"],
|
||||
get = function()
|
||||
return self.moduleSettings.barFontBold
|
||||
end,
|
||||
@ -333,8 +334,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
lockFontAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock Bar Text Alpha",
|
||||
desc = "Locks upper text alpha to 100%",
|
||||
name = L["Lock Bar Text Alpha"],
|
||||
desc = L["Locks upper text alpha to 100%"],
|
||||
get = function()
|
||||
return self.moduleSettings.lockTextAlpha
|
||||
end,
|
||||
@ -347,8 +348,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
upperTextVisible = {
|
||||
type = 'toggle',
|
||||
name = 'Upper text visible',
|
||||
desc = 'Toggle upper text visibility',
|
||||
name = L["Upper text visible"],
|
||||
desc = L["Toggle upper text visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.textVisible['upper']
|
||||
end,
|
||||
@ -361,8 +362,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
lowerTextVisible = {
|
||||
type = 'toggle',
|
||||
name = 'Lower text visible',
|
||||
desc = 'Toggle lower text visibility',
|
||||
name = L["Lower text visible"],
|
||||
desc = L["Toggle lower text visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.textVisible['lower']
|
||||
end,
|
||||
@ -375,8 +376,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
textVerticalOffset = {
|
||||
type = 'range',
|
||||
name = 'Text Vertical Offset',
|
||||
desc = 'Offset of the text from the bar vertically (negative is farther below)',
|
||||
name = L["Text Vertical Offset"],
|
||||
desc = L["Offset of the text from the bar vertically (negative is farther below)"],
|
||||
min = -250,
|
||||
max = 350,
|
||||
step = 1,
|
||||
@ -394,8 +395,8 @@ function MirrorBarHandler.prototype:GetOptions()
|
||||
|
||||
textHorizontalOffset = {
|
||||
type = 'range',
|
||||
name = 'Text Horizontal Offset',
|
||||
desc = 'Offset of the text from the bar horizontally',
|
||||
name = L["Text Horizontal Offset"],
|
||||
desc = L["Offset of the text from the bar horizontally"],
|
||||
min = -50,
|
||||
max = 50,
|
||||
step = 1,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local PetHealth = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
PetHealth.prototype.happiness = nil
|
||||
@ -141,8 +142,8 @@ function PetHealth.prototype:GetOptions()
|
||||
|
||||
opts["scaleHealthColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by health %",
|
||||
desc = "Colors the health bar from MaxHealthColor to MinHealthColor based on current health %",
|
||||
name = L["Color bar by health %"],
|
||||
desc = L["Colors the health bar from MaxHealthColor to MinHealthColor based on current health %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleHealthColor
|
||||
end,
|
||||
@ -158,8 +159,8 @@ function PetHealth.prototype:GetOptions()
|
||||
|
||||
opts["allowClickTarget"] = {
|
||||
type = 'toggle',
|
||||
name = 'Allow click-targeting',
|
||||
desc = 'Whether or not to allow click targeting/casting for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)',
|
||||
name = L["Allow click-targeting"],
|
||||
desc = L["Whether or not to allow click targeting/casting for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)"],
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteraction
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local PetInfo = IceCore_CreateClass(IceTargetInfo)
|
||||
|
||||
-- Constructor --
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local PetMana = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
-- Constructor --
|
||||
@ -196,8 +197,8 @@ function PetMana.prototype:GetOptions()
|
||||
|
||||
opts["scaleManaColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by mana %",
|
||||
desc = "Colors the mana bar from MaxManaColor to MinManaColor based on current mana %",
|
||||
name = L["Color bar by mana %"],
|
||||
desc = L["Colors the mana bar from MaxManaColor to MinManaColor based on current mana %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleManaColor
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
-- changed to inherit from the TargetCC bar since the only difference is the unit and the default placement
|
||||
-- helps keep changes in one place and we don't have to duplicate the CC spell tables and they don't have to be globals
|
||||
local PlayerCC = IceCore_CreateClass(TargetCC)
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local PlayerHealth = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
PlayerHealth.prototype.resting = nil
|
||||
@ -164,8 +165,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
opts["classColor"] = {
|
||||
type = "toggle",
|
||||
name = "Class color bar",
|
||||
desc = "Use class color as the bar color instead of default color",
|
||||
name = L["Class color bar"],
|
||||
desc = L["Use class color as the bar color instead of default color"],
|
||||
get = function()
|
||||
return self.moduleSettings.classColor
|
||||
end,
|
||||
@ -181,8 +182,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Frame",
|
||||
desc = "Hides Blizzard Player frame and disables all events related to it",
|
||||
name = L["Hide Blizzard Frame"],
|
||||
desc = L["Hides Blizzard Player frame and disables all events related to it"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
@ -202,8 +203,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizzParty"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Party",
|
||||
desc = "Hides Blizzard's default party frame and disables all events related to them",
|
||||
name = L["Hide Blizzard Party"],
|
||||
desc = L["Hides Blizzard's default party frame and disables all events related to them"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizzParty
|
||||
end,
|
||||
@ -223,8 +224,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
opts["scaleHealthColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by health %",
|
||||
desc = "Colors the health bar from MaxHealthColor to MinHealthColor based on current health %",
|
||||
name = L["Color bar by health %"],
|
||||
desc = L["Colors the health bar from MaxHealthColor to MinHealthColor based on current health %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleHealthColor
|
||||
end,
|
||||
@ -240,8 +241,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
opts["allowClickTarget"] = {
|
||||
type = 'toggle',
|
||||
name = 'Allow click-targeting',
|
||||
desc = 'Whether or not to allow click targeting/casting and the player drop-down menu for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)',
|
||||
name = L["Allow click-targeting"],
|
||||
desc = L["Whether or not to allow click targeting/casting and the player drop-down menu for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)"],
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteraction
|
||||
end,
|
||||
@ -257,8 +258,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
opts["allowClickTargetCombat"] = {
|
||||
type = 'toggle',
|
||||
name = 'Allow click-targeting in combat',
|
||||
desc = 'Whether or not to allow click targeting/casting and the player drop-down menu for this bar while the player is in combat (Note: does not work properly with HiBar, have to click near the base of the bar)',
|
||||
name = L["Allow click-targeting in combat"],
|
||||
desc = L["Whether or not to allow click targeting/casting and the player drop-down menu for this bar while the player is in combat (Note: does not work properly with HiBar, have to click near the base of the bar)"],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteractionCombat
|
||||
@ -276,8 +277,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
opts["showIncomingHeals"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Show incoming heals',
|
||||
desc = 'Whether or not to show incoming heals as a lighter-colored bar on top of your current health (requires LibHealComm-4.0 or official patch 4.0)',
|
||||
name = L["Show incoming heals"],
|
||||
desc = L["Whether or not to show incoming heals as a lighter-colored bar on top of your current health (requires LibHealComm-4.0 or official patch 4.0)"],
|
||||
get = function()
|
||||
return self.moduleSettings.showIncomingHeals
|
||||
end,
|
||||
@ -302,8 +303,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
opts["healAlpha"] =
|
||||
{
|
||||
type = "range",
|
||||
name = "Incoming heal bar alpha",
|
||||
desc = "What alpha value to use for the bar that displays how much health you'll have after an incoming heal (This gets multiplied by the bar's current alpha to stay in line with the bar on top of it)",
|
||||
name = L["Incoming heal bar alpha"],
|
||||
desc = L["What alpha value to use for the bar that displays how much health you'll have after an incoming heal (This gets multiplied by the bar's current alpha to stay in line with the bar on top of it)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 5,
|
||||
@ -323,16 +324,16 @@ function PlayerHealth.prototype:GetOptions()
|
||||
opts["iconSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
name = '|c' .. self.configColor .. 'Icon Settings|r',
|
||||
desc = 'Settings related to icons',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
desc = L["Settings related to icons"],
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
args = {
|
||||
iconConfigMode = {
|
||||
type = "toggle",
|
||||
name = "Icon config mode",
|
||||
desc = "With this enabled, all icons draw so you can configure their placement\n\nNote: the combat and status icons are actually the same texture so you'll only see combat in config mode (unless you're already resting)",
|
||||
name = L["Icon config mode"],
|
||||
desc = L["With this enabled, all icons draw so you can configure their placement\n\nNote: the combat and status icons are actually the same texture so you'll only see combat in config mode (unless you're already resting)"],
|
||||
get = function()
|
||||
return configMode
|
||||
end,
|
||||
@ -345,8 +346,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
lockIconAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock all icons to 100% alpha",
|
||||
desc = "With this enabled, all icons will be 100% visible regardless of the alpha settings for this bar.",
|
||||
name = L["Lock all icons to 100% alpha"],
|
||||
desc = L["With this enabled, all icons will be 100% visible regardless of the alpha settings for this bar."],
|
||||
get = function()
|
||||
return self.moduleSettings.lockIconAlpha
|
||||
end,
|
||||
@ -359,13 +360,13 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
headerStatusIcon = {
|
||||
type = 'header',
|
||||
name = "Status icon",
|
||||
name = L["Status icon"],
|
||||
order = 9.9
|
||||
},
|
||||
statusIcon = {
|
||||
type = "toggle",
|
||||
name = "Show status icon",
|
||||
desc = "Whether or not to show the status icon (resting/combat) above this bar\n\nNote: You can configure resting/combat separately below, but disabling both resting and combat is the same as disabling the icon altogether",
|
||||
name = L["Show status icon"],
|
||||
desc = L["Whether or not to show the status icon (resting/combat) above this bar\n\nNote: You can configure resting/combat separately below, but disabling both resting and combat is the same as disabling the icon altogether"],
|
||||
get = function()
|
||||
return self.moduleSettings.showStatusIcon
|
||||
end,
|
||||
@ -381,8 +382,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
showStatusCombat = {
|
||||
type = "toggle",
|
||||
name = "Show combat status",
|
||||
desc = "Whether or not to show the combat status portion of the status icon (for example, if you only care when you're resting, not when you're in combat)",
|
||||
name = L["Show combat status"],
|
||||
desc = L["Whether or not to show the combat status portion of the status icon (for example, if you only care when you're resting, not when you're in combat)"],
|
||||
get = function()
|
||||
return self.moduleSettings.showStatusCombat
|
||||
end,
|
||||
@ -398,8 +399,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
showStatusResting = {
|
||||
type = "toggle",
|
||||
name = "Show resting status",
|
||||
desc = "Whether or not to show the resting status portion of the status icon (for example, if you only care when you're in combat, but not when you're resting)",
|
||||
name = L["Show resting status"],
|
||||
desc = L["Whether or not to show the resting status portion of the status icon (for example, if you only care when you're in combat, but not when you're resting)"],
|
||||
get = function()
|
||||
return self.moduleSettings.showStatusResting
|
||||
end,
|
||||
@ -415,8 +416,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
statusIconOffsetX = {
|
||||
type = "range",
|
||||
name = "Status Icon Horizontal Offset",
|
||||
desc = "How much to offset the status icon (resting/combat) from the bar horizontally",
|
||||
name = L["Status Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the status icon (resting/combat) from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -434,8 +435,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
statusIconOffsetY = {
|
||||
type = "range",
|
||||
name = "Status Icon Vertical Offset",
|
||||
desc = "How much to offset the status icon (resting/combat) from the bar vertically",
|
||||
name = L["Status Icon Vertical Offset"],
|
||||
desc = L["How much to offset the status icon (resting/combat) from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -453,8 +454,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
statusIconScale = {
|
||||
type = "range",
|
||||
name = "Status Icon Scale",
|
||||
desc = "How much to scale the status icon",
|
||||
name = L["Status Icon Scale"],
|
||||
desc = L["How much to scale the status icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -473,13 +474,13 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
headerLeaderIcon = {
|
||||
type = 'header',
|
||||
name = "Leader icon",
|
||||
name = L["Leader icon"],
|
||||
order = 19.9
|
||||
},
|
||||
leaderIcon = {
|
||||
type = "toggle",
|
||||
name = "Show leader icon",
|
||||
desc = "Whether or not to show the party leader icon above this bar",
|
||||
name = L["Show leader icon"],
|
||||
desc = L["Whether or not to show the party leader icon above this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.showLeaderIcon
|
||||
end,
|
||||
@ -494,8 +495,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
leaderIconOffsetX = {
|
||||
type = "range",
|
||||
name = "Leader Icon Horizontal Offset",
|
||||
desc = "How much to offset the leader icon from the bar horizontally",
|
||||
name = L["Leader Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the leader icon from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -513,8 +514,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
leaderIconOffsetY = {
|
||||
type = "range",
|
||||
name = "Leader Icon Vertical Offset",
|
||||
desc = "How much to offset the leader icon from the bar vertically",
|
||||
name = L["Leader Icon Vertical Offset"],
|
||||
desc = L["How much to offset the leader icon from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -532,8 +533,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
leaderIconScale = {
|
||||
type = "range",
|
||||
name = "Leader Icon Scale",
|
||||
desc = "How much to scale the leader icon",
|
||||
name = L["Leader Icon Scale"],
|
||||
desc = L["How much to scale the leader icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -552,13 +553,13 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
headerLootMasterIcon = {
|
||||
type = 'header',
|
||||
name = "Loot Master icon",
|
||||
name = L["Loot Master icon"],
|
||||
order = 29.9
|
||||
},
|
||||
lootMasterIcon = {
|
||||
type = "toggle",
|
||||
name = "Show loot master icon",
|
||||
desc = "Whether or not to show the loot master icon",
|
||||
name = L["Show loot master icon"],
|
||||
desc = L["Whether or not to show the loot master icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.showLootMasterIcon
|
||||
end,
|
||||
@ -573,8 +574,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
lootMasterIconOffsetX = {
|
||||
type = "range",
|
||||
name = "Loot Master Icon Horizontal Offset",
|
||||
desc = "How much to offset the loot master icon from the bar horizontally",
|
||||
name = L["Loot Master Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the loot master icon from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -592,8 +593,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
lootMasterIconOffsetY = {
|
||||
type = "range",
|
||||
name = "Loot Master Icon Vertical Offset",
|
||||
desc = "How much to offset the loot master icon from the bar vertically",
|
||||
name = L["Loot Master Icon Vertical Offset"],
|
||||
desc = L["How much to offset the loot master icon from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -611,8 +612,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
lootMasterIconScale = {
|
||||
type = "range",
|
||||
name = "Loot Master Icon Scale",
|
||||
desc = "How much to scale the loot master icon",
|
||||
name = L["Loot Master Icon Scale"],
|
||||
desc = L["How much to scale the loot master icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -631,13 +632,13 @@ function PlayerHealth.prototype:GetOptions()
|
||||
|
||||
headerPvPIcon = {
|
||||
type = 'header',
|
||||
name = "PvP icon",
|
||||
name = L["PvP icon"],
|
||||
order = 39.9
|
||||
},
|
||||
PvPIcon = {
|
||||
type = "toggle",
|
||||
name = "Show PvP icon",
|
||||
desc = "Whether or not to show the PvP icon",
|
||||
name = L["Show PvP icon"],
|
||||
desc = L["Whether or not to show the PvP icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.showPvPIcon
|
||||
end,
|
||||
@ -652,8 +653,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
PvPIconOffsetX = {
|
||||
type = "range",
|
||||
name = "PvP Icon Horizontal Offset",
|
||||
desc = "How much to offset the PvP icon from the bar horizontally",
|
||||
name = L["PvP Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the PvP icon from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -671,8 +672,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
PvPIconOffsetY = {
|
||||
type = "range",
|
||||
name = "PvP Icon Vertical Offset",
|
||||
desc = "How much to offset the PvP icon from the bar vertically",
|
||||
name = L["PvP Icon Vertical Offset"],
|
||||
desc = L["How much to offset the PvP icon from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -690,8 +691,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
PvPIconScale = {
|
||||
type = "range",
|
||||
name = "PvP Icon Scale",
|
||||
desc = "How much to scale the PvP icon",
|
||||
name = L["PvP Icon Scale"],
|
||||
desc = L["How much to scale the PvP icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -709,13 +710,13 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
headerPartyRoleIcon = {
|
||||
type = 'header',
|
||||
name = "Party Role icon",
|
||||
name = L["Party Role icon"],
|
||||
order = 49.9
|
||||
},
|
||||
PartyRoleIcon = {
|
||||
type = "toggle",
|
||||
name = "Show Party Role icon",
|
||||
desc = "Whether or not to show the Party Role icon",
|
||||
name = L["Show Party Role icon"],
|
||||
desc = L["Whether or not to show the Party Role icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.showPartyRoleIcon
|
||||
end,
|
||||
@ -730,8 +731,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
PartyRoleIconOffsetX = {
|
||||
type = "range",
|
||||
name = "Party Role Icon Horizontal Offset",
|
||||
desc = "How much to offset the Party Role icon from the bar horizontally",
|
||||
name = L["Party Role Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the Party Role icon from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -749,8 +750,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
PartyRoleIconOffsetY = {
|
||||
type = "range",
|
||||
name = "Party Role Icon Vertical Offset",
|
||||
desc = "How much to offset the Party Role icon from the bar vertically",
|
||||
name = L["Party Role Icon Vertical Offset"],
|
||||
desc = L["How much to offset the Party Role icon from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -768,8 +769,8 @@ function PlayerHealth.prototype:GetOptions()
|
||||
},
|
||||
PartyRoleIconScale = {
|
||||
type = "range",
|
||||
name = "Party Role Icon Scale",
|
||||
desc = "How much to scale the Party Role icon",
|
||||
name = L["Party Role Icon Scale"],
|
||||
desc = L["How much to scale the Party Role icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local PlayerInfo = IceCore_CreateClass(IceTargetInfo)
|
||||
|
||||
local EPSILON = 0.5
|
||||
@ -28,8 +29,8 @@ function PlayerInfo.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Buffs",
|
||||
desc = "Hides Blizzard's default buffs frame and disables all events related to it",
|
||||
name = L["Hide Blizzard Buffs"],
|
||||
desc = L["Hides Blizzard's default buffs frame and disables all events related to it"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
-- changed to inherit from the TargetInvuln bar since the only difference is the unit and the default placement
|
||||
-- helps keep changes in one place and we don't have to duplicate the Invuln spell tables and they don't have to be globals
|
||||
local PlayerInvuln = IceCore_CreateClass(TargetInvuln)
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local PlayerMana = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
PlayerMana.prototype.manaType = nil
|
||||
@ -38,8 +39,8 @@ function PlayerMana.prototype:GetOptions()
|
||||
if self:ShouldUseTicker() then
|
||||
opts["tickerEnabled"] = {
|
||||
type = "toggle",
|
||||
name = "Show rogue/cat energy ticker",
|
||||
desc = "Show rogue/cat energy ticker",
|
||||
name = L["Show rogue/cat energy ticker"],
|
||||
desc = L["Show rogue/cat energy ticker"],
|
||||
get = function()
|
||||
return self.moduleSettings.tickerEnabled
|
||||
end,
|
||||
@ -56,8 +57,8 @@ if self:ShouldUseTicker() then
|
||||
opts["tickerAlpha"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Energy Ticker Alpha',
|
||||
desc = 'Energy Ticker Alpha',
|
||||
name = L["Energy Ticker Alpha"],
|
||||
desc = L["Energy Ticker Alpha"],
|
||||
min = 0.1,
|
||||
max = 1,
|
||||
step = 0.05,
|
||||
@ -76,8 +77,8 @@ if self:ShouldUseTicker() then
|
||||
end
|
||||
opts["scaleManaColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by mana %",
|
||||
desc = "Colors the mana bar from MaxManaColor to MinManaColor based on current mana %",
|
||||
name = L["Color bar by mana %"],
|
||||
desc = L["Colors the mana bar from MaxManaColor to MinManaColor based on current mana %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleManaColor
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local RangeCheck = IceCore_CreateClass(IceElement)
|
||||
RangeCheck.prototype.scheduledEvent = nil
|
||||
|
||||
@ -50,8 +51,8 @@ function RangeCheck.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -70,8 +71,8 @@ function RangeCheck.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -90,8 +91,8 @@ function RangeCheck.prototype:GetOptions()
|
||||
|
||||
opts["rangeString"] = {
|
||||
type = 'input',
|
||||
name = 'Range string',
|
||||
desc = 'DogTag-formatted string to use for the range display (only available if LibDogTag is being used)\n\nType /dogtag for a list of available tags',
|
||||
name = L["Range string"],
|
||||
desc = L["DogTag-formatted string to use for the range display (only available if LibDogTag is being used)\n\nType /dogtag for a list of available tags"],
|
||||
get = function()
|
||||
return self.moduleSettings.rangeString
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local Runes = IceCore_CreateClass(IceElement)
|
||||
|
||||
-- blizzard cracks me up. the below block is copied verbatim from RuneFrame.lua ;)
|
||||
@ -41,8 +42,8 @@ function Runes.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -61,8 +62,8 @@ function Runes.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -81,8 +82,8 @@ function Runes.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Frame",
|
||||
desc = "Hides Blizzard Rune frame and disables all events related to it",
|
||||
name = L["Hide Blizzard Frame"],
|
||||
desc = L["Hides Blizzard Rune frame and disables all events related to it"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
@ -102,8 +103,8 @@ function Runes.prototype:GetOptions()
|
||||
|
||||
opts["displayMode"] = {
|
||||
type = 'select',
|
||||
name = 'Rune orientation',
|
||||
desc = 'Whether the runes should draw side-by-side or on top of one another',
|
||||
name = L["Rune orientation"],
|
||||
desc = L["Whether the runes should draw side-by-side or on top of one another"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.displayMode)
|
||||
end,
|
||||
@ -120,8 +121,8 @@ function Runes.prototype:GetOptions()
|
||||
|
||||
opts["cooldownMode"] = {
|
||||
type = 'select',
|
||||
name = 'Rune cooldown mode',
|
||||
desc = 'Choose whether the runes use a cooldown-style wipe, simply an alpha fade to show availability or both.',
|
||||
name = L["Rune cooldown mode"],
|
||||
desc = L["Choose whether the runes use a cooldown-style wipe, simply an alpha fade to show availability or both."],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.cooldownMode)
|
||||
end,
|
||||
@ -138,8 +139,8 @@ function Runes.prototype:GetOptions()
|
||||
|
||||
opts["runeGap"] = {
|
||||
type = 'range',
|
||||
name = 'Rune gap',
|
||||
desc = 'Spacing between each rune (only works for graphical mode)',
|
||||
name = L["Rune gap"],
|
||||
desc = L["Spacing between each rune (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local ShardCounter = IceCore_CreateClass(IceClassPowerCounter)
|
||||
|
||||
function ShardCounter.prototype:init()
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local SliceAndDice = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
local NetherbladeItemIdList = {29044, 29045, 29046, 29047, 29048}
|
||||
@ -91,8 +92,8 @@ function SliceAndDice.prototype:GetOptions()
|
||||
opts["showAsPercentOfMax"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'Show bar as % of maximum',
|
||||
desc = 'If this is checked, then the SnD buff time shows as a percent of the maximum attainable (taking set bonuses and talents into account). Otherwise, the bar always goes from full to empty when applying SnD no matter the duration.',
|
||||
name = L["Show bar as % of maximum"],
|
||||
desc = L["If this is checked, then the SnD buff time shows as a percent of the maximum attainable (taking set bonuses and talents into account). Otherwise, the bar always goes from full to empty when applying SnD no matter the duration."],
|
||||
get = function()
|
||||
return self.moduleSettings.showAsPercentOfMax
|
||||
end,
|
||||
@ -107,8 +108,8 @@ function SliceAndDice.prototype:GetOptions()
|
||||
opts["durationAlpha"] =
|
||||
{
|
||||
type = "range",
|
||||
name = "Potential SnD time bar alpha",
|
||||
desc = "What alpha value to use for the bar that displays how long your SnD will last if you activate it. (This gets multiplied by the bar's current alpha to stay in line with the bar on top of it)",
|
||||
name = L["Potential SnD time bar alpha"],
|
||||
desc = L["What alpha value to use for the bar that displays how long your SnD will last if you activate it. (This gets multiplied by the bar's current alpha to stay in line with the bar on top of it)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 5,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local SunderCount = IceCore_CreateClass(IceElement)
|
||||
|
||||
SunderCount.prototype.sunderSize = 20
|
||||
@ -21,8 +22,8 @@ function SunderCount.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -41,8 +42,8 @@ function SunderCount.prototype:GetOptions()
|
||||
|
||||
opts["sunderFontSize"] = {
|
||||
type = "range",
|
||||
name = "Sunder Count Font Size",
|
||||
desc = "Sunder Count Font Size",
|
||||
name = L["Sunder Count Font Size"],
|
||||
desc = L["Sunder Count Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.sunderFontSize
|
||||
end,
|
||||
@ -61,8 +62,8 @@ function SunderCount.prototype:GetOptions()
|
||||
|
||||
opts["sunderMode"] = {
|
||||
type = 'select',
|
||||
name = "Display Mode",
|
||||
desc = "Show graphical or numeric sunders",
|
||||
name = L["Display Mode"],
|
||||
desc = L["Show graphical or numeric sunders"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.sunderMode)
|
||||
end,
|
||||
@ -81,8 +82,8 @@ function SunderCount.prototype:GetOptions()
|
||||
|
||||
opts["sunderGap"] = {
|
||||
type = 'range',
|
||||
name = 'Sunder gap',
|
||||
desc = 'Spacing between each sunder count (only works for graphical mode)',
|
||||
name = L["Sunder gap"],
|
||||
desc = L["Spacing between each sunder count (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
@ -101,8 +102,8 @@ function SunderCount.prototype:GetOptions()
|
||||
|
||||
opts["gradient"] = {
|
||||
type = "toggle",
|
||||
name = "Change color",
|
||||
desc = "1 sunder: yellow, 5 sunders: red",
|
||||
name = L["Change color"],
|
||||
desc = L["1 sunder: yellow, 5 sunders: red"],
|
||||
get = function()
|
||||
return self.moduleSettings.gradient
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
-- needs to not be local so that we can inherit from it
|
||||
TargetCC = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
@ -268,8 +269,8 @@ function TargetCC.prototype:GetOptions()
|
||||
|
||||
opts["alertParty"] = {
|
||||
type = "toggle",
|
||||
name = "Alert Party",
|
||||
desc = "Broadcasts crowd control effects you apply to your target via the party chat channel",
|
||||
name = L["Alert Party"],
|
||||
desc = L["Broadcasts crowd control effects you apply to your target via the party chat channel"],
|
||||
get = function()
|
||||
return self.moduleSettings.alertParty
|
||||
end,
|
||||
@ -283,8 +284,8 @@ function TargetCC.prototype:GetOptions()
|
||||
|
||||
opts["onlyShowForMyDebuffs"] = {
|
||||
type = 'toggle',
|
||||
name = 'Only show for my debuffs',
|
||||
desc = 'With this checked, the bar will only activate for your own CC spells and not those of others.',
|
||||
name = L["Only show for my debuffs"],
|
||||
desc = L["With this checked, the bar will only activate for your own CC spells and not those of others."],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.onlyShowForMyDebuffs
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local TargetCast = IceCore_CreateClass(IceCastBar)
|
||||
|
||||
TargetCast.prototype.notInterruptible = false
|
||||
@ -89,8 +90,8 @@ function TargetCast.prototype:GetOptions()
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
desc = 'Toggle bar visibility',
|
||||
name = L["Bar visible"],
|
||||
desc = L["Toggle bar visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bar']
|
||||
end,
|
||||
@ -110,8 +111,8 @@ function TargetCast.prototype:GetOptions()
|
||||
|
||||
opts["bgVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar background visible',
|
||||
desc = 'Toggle bar background visibility',
|
||||
name = L["Bar background visible"],
|
||||
desc = L["Toggle bar background visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bg']
|
||||
end,
|
||||
@ -131,8 +132,8 @@ function TargetCast.prototype:GetOptions()
|
||||
|
||||
opts["displayNonInterruptible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Display non-interruptible color',
|
||||
desc = 'Toggles whether or not to show the CastNonInterruptible color for this bar when a cast is non-interruptible',
|
||||
name = L["Display non-interruptible color"],
|
||||
desc = L["Toggles whether or not to show the CastNonInterruptible color for this bar when a cast is non-interruptible"],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.displayNonInterruptible
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceTargetHealth = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
IceTargetHealth.prototype.color = nil
|
||||
@ -72,8 +73,8 @@ function IceTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["classColor"] = {
|
||||
type = "toggle",
|
||||
name = "Class color bar",
|
||||
desc = "Use class color as the bar color instead of reaction color\n\n(Note: The 'color bar by health %' setting overrides this)",
|
||||
name = L["Class color bar"],
|
||||
desc = L["Use class color as the bar color instead of reaction color\n\n(Note: The 'color bar by health %' setting overrides this)"],
|
||||
get = function()
|
||||
return self.moduleSettings.classColor
|
||||
end,
|
||||
@ -89,8 +90,8 @@ function IceTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["npcHostilityColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color NPC by hostility",
|
||||
desc = "If you are using the 'class color bar' setting above, then enabling this will color NPC's by their hostility toward you since NPC class isn't very helpful or applicable information.",
|
||||
name = L["Color NPC by hostility"],
|
||||
desc = L["If you are using the 'class color bar' setting above, then enabling this will color NPC's by their hostility toward you since NPC class isn't very helpful or applicable information."],
|
||||
get = function()
|
||||
return self.moduleSettings.npcHostilityColor
|
||||
end,
|
||||
@ -106,8 +107,8 @@ function IceTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Frame",
|
||||
desc = "Hides Blizzard Target frame and disables all events related to it",
|
||||
name = L["Hide Blizzard Frame"],
|
||||
desc = L["Hides Blizzard Target frame and disables all events related to it"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
@ -127,8 +128,8 @@ function IceTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["allowClickTarget"] = {
|
||||
type = 'toggle',
|
||||
name = 'Allow click-targeting',
|
||||
desc = 'Whether or not to allow click targeting/casting and the target drop-down menu for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)',
|
||||
name = L["Allow click-targeting"],
|
||||
desc = L["Whether or not to allow click targeting/casting and the target drop-down menu for this bar (Note: does not work properly with HiBar, have to click near the base of the bar)"],
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteraction
|
||||
end,
|
||||
@ -144,8 +145,8 @@ function IceTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["scaleHealthColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by health %",
|
||||
desc = "Colors the health bar from MaxHealthColor to MinHealthColor based on current health %\n\n(Note: This overrides the 'class color bar' setting. Disable this to use class coloring)",
|
||||
name = L["Color bar by health %"],
|
||||
desc = L["Colors the health bar from MaxHealthColor to MinHealthColor based on current health %\n\n(Note: This overrides the 'class color bar' setting. Disable this to use class coloring)"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleHealthColor
|
||||
end,
|
||||
@ -162,8 +163,8 @@ function IceTargetHealth.prototype:GetOptions()
|
||||
if not IceHUD.IceCore:ShouldUseDogTags() then
|
||||
opts["shortenHealth"] = {
|
||||
type = 'toggle',
|
||||
name = 'Abbreviate estimated health',
|
||||
desc = 'If this is checked, then a health value of 1100 will display as 1.1k, otherwise it shows the number',
|
||||
name = L["Abbreviate estimated health"],
|
||||
desc = L["If this is checked, then a health value of 1100 will display as 1.1k, otherwise it shows the number"],
|
||||
get = function()
|
||||
return self.moduleSettings.abbreviateHealth
|
||||
end,
|
||||
@ -180,16 +181,16 @@ end
|
||||
opts["iconSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
name = '|c' .. self.configColor .. 'Icon Settings|r',
|
||||
desc = 'Settings related to icons',
|
||||
name = "|c"..self.configColor..L["Icon Settings"].."|r",
|
||||
desc = L["Settings related to icons"],
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
args = {
|
||||
iconConfigMode = {
|
||||
type = "toggle",
|
||||
name = "Icon config mode",
|
||||
desc = "With this enabled, all icons draw so you can configure their placement\n\nNote: the combat and status icons are actually the same texture so you'll only see combat in config mode (unless you're already resting)",
|
||||
name = L["Icon config mode"],
|
||||
desc = L["With this enabled, all icons draw so you can configure their placement\n\nNote: the combat and status icons are actually the same texture so you'll only see combat in config mode (unless you're already resting)"],
|
||||
get = function()
|
||||
return self.configMode
|
||||
end,
|
||||
@ -205,8 +206,8 @@ end
|
||||
|
||||
lockIconAlpha = {
|
||||
type = "toggle",
|
||||
name = "Lock all icons to 100% alpha",
|
||||
desc = "With this enabled, all icons will be 100% visible regardless of the alpha settings for this bar.",
|
||||
name = L["Lock all icons to 100% alpha"],
|
||||
desc = L["With this enabled, all icons will be 100% visible regardless of the alpha settings for this bar."],
|
||||
get = function()
|
||||
return self.moduleSettings.lockIconAlpha
|
||||
end,
|
||||
@ -219,14 +220,14 @@ end
|
||||
|
||||
PvPHeader = {
|
||||
type = 'header',
|
||||
name = 'PvP icon',
|
||||
name = L["PvP icon"],
|
||||
order = 39.9
|
||||
},
|
||||
|
||||
PvPIcon = {
|
||||
type = "toggle",
|
||||
name = "Show PvP icon",
|
||||
desc = "Whether or not to show the PvP icon",
|
||||
name = L["Show PvP icon"],
|
||||
desc = L["Whether or not to show the PvP icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.showPvPIcon
|
||||
end,
|
||||
@ -241,8 +242,8 @@ end
|
||||
},
|
||||
PvPIconOnTop = {
|
||||
type = "toggle",
|
||||
name = "Draw PVP Icon on top",
|
||||
desc = "Whether to draw the PvP icon in front of or behind this bar",
|
||||
name = L["Draw PVP Icon on top"],
|
||||
desc = L["Whether to draw the PvP icon in front of or behind this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.PvPIconOnTop
|
||||
end,
|
||||
@ -257,8 +258,8 @@ end
|
||||
},
|
||||
PvPIconOffsetX = {
|
||||
type = "range",
|
||||
name = "PvP Icon Horizontal Offset",
|
||||
desc = "How much to offset the PvP icon from the bar horizontally",
|
||||
name = L["PvP Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the PvP icon from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -276,8 +277,8 @@ end
|
||||
},
|
||||
PvPIconOffsetY = {
|
||||
type = "range",
|
||||
name = "PvP Icon Vertical Offset",
|
||||
desc = "How much to offset the PvP icon from the bar vertically",
|
||||
name = L["PvP Icon Vertical Offset"],
|
||||
desc = L["How much to offset the PvP icon from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -295,8 +296,8 @@ end
|
||||
},
|
||||
PvPIconScale = {
|
||||
type = "range",
|
||||
name = "PvP Icon Scale",
|
||||
desc = "How much to scale the PvP icon",
|
||||
name = L["PvP Icon Scale"],
|
||||
desc = L["How much to scale the PvP icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -315,14 +316,14 @@ end
|
||||
|
||||
RaidHeader = {
|
||||
type = 'header',
|
||||
name = 'Raid icon',
|
||||
name = L["Raid icon"],
|
||||
order = 49.9
|
||||
},
|
||||
|
||||
showRaidIcon = {
|
||||
type = "toggle",
|
||||
name = "Show Raid Icon",
|
||||
desc = "Whether or not to show the raid icon above this bar",
|
||||
name = L["Show Raid Icon"],
|
||||
desc = L["Whether or not to show the raid icon above this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.showRaidIcon
|
||||
end,
|
||||
@ -338,8 +339,8 @@ end
|
||||
|
||||
raidIconOnTop = {
|
||||
type = "toggle",
|
||||
name = "Draw Raid Icon On Top",
|
||||
desc = "Whether to draw the raid icon in front of or behind this bar",
|
||||
name = L["Draw Raid Icon On Top"],
|
||||
desc = L["Whether to draw the raid icon in front of or behind this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.raidIconOnTop
|
||||
end,
|
||||
@ -355,8 +356,8 @@ end
|
||||
|
||||
raidIconXOffset = {
|
||||
type = "range",
|
||||
name = "Raid Icon X Offset",
|
||||
desc = "How far to push the raid icon right or left",
|
||||
name = L["Raid Icon X Offset"],
|
||||
desc = L["How far to push the raid icon right or left"],
|
||||
min = -300,
|
||||
max = 300,
|
||||
step = 1,
|
||||
@ -376,8 +377,8 @@ end
|
||||
|
||||
raidIconYOffset = {
|
||||
type = "range",
|
||||
name = "Raid Icon Y Offset",
|
||||
desc = "How far to push the raid icon up or down",
|
||||
name = L["Raid Icon Y Offset"],
|
||||
desc = L["How far to push the raid icon up or down"],
|
||||
min = -300,
|
||||
max = 300,
|
||||
step = 1,
|
||||
@ -397,8 +398,8 @@ end
|
||||
|
||||
raidIconScale = {
|
||||
type = "range",
|
||||
name = "Raid Icon Scale",
|
||||
desc = "How much to scale the raid icon",
|
||||
name = L["Raid Icon Scale"],
|
||||
desc = L["How much to scale the raid icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -417,14 +418,14 @@ end
|
||||
|
||||
ClassificationHeader = {
|
||||
type = 'header',
|
||||
name = 'Classification icon',
|
||||
name = L["Classification icon"],
|
||||
order = 59.9
|
||||
},
|
||||
|
||||
showClassificationIcon = {
|
||||
type = "toggle",
|
||||
name = "Show Elite Icon",
|
||||
desc = "Whether or not to show the rare/elite icon above this bar",
|
||||
name = L["Show Elite Icon"],
|
||||
desc = L["Whether or not to show the rare/elite icon above this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.showClassificationIcon
|
||||
end,
|
||||
@ -440,8 +441,8 @@ end
|
||||
|
||||
classIconOnTop = {
|
||||
type = "toggle",
|
||||
name = "Draw Elite Icon On Top",
|
||||
desc = "Whether to draw the elite icon in front of or behind this bar",
|
||||
name = L["Draw Elite Icon On Top"],
|
||||
desc = L["Whether to draw the elite icon in front of or behind this bar"],
|
||||
get = function()
|
||||
return self.moduleSettings.classIconOnTop
|
||||
end,
|
||||
@ -457,8 +458,8 @@ end
|
||||
|
||||
classIconXOffset = {
|
||||
type = "range",
|
||||
name = "Elite Icon X Offset",
|
||||
desc = "How far to push the elite icon right or left",
|
||||
name = L["Elite Icon X Offset"],
|
||||
desc = L["How far to push the elite icon right or left"],
|
||||
min = -300,
|
||||
max = 300,
|
||||
step = 1,
|
||||
@ -477,8 +478,8 @@ end
|
||||
|
||||
classIconYOffset = {
|
||||
type = "range",
|
||||
name = "Elite Icon Y Offset",
|
||||
desc = "How far to push the elite icon up or down",
|
||||
name = L["Elite Icon Y Offset"],
|
||||
desc = L["How far to push the elite icon up or down"],
|
||||
min = -300,
|
||||
max = 300,
|
||||
step = 1,
|
||||
@ -497,8 +498,8 @@ end
|
||||
|
||||
classIconScale = {
|
||||
type = "range",
|
||||
name = "Elite Icon Scale",
|
||||
desc = "How much to scale the elite icon",
|
||||
name = L["Elite Icon Scale"],
|
||||
desc = L["How much to scale the elite icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
@ -517,13 +518,13 @@ end
|
||||
|
||||
headerPartyRoleIcon = {
|
||||
type = 'header',
|
||||
name = "Party Role icon",
|
||||
name = L["Party Role icon"],
|
||||
order = 65
|
||||
},
|
||||
PartyRoleIcon = {
|
||||
type = "toggle",
|
||||
name = "Show Party Role icon",
|
||||
desc = "Whether or not to show the Party Role icon",
|
||||
name = L["Show Party Role icon"],
|
||||
desc = L["Whether or not to show the Party Role icon"],
|
||||
get = function()
|
||||
return self.moduleSettings.showPartyRoleIcon
|
||||
end,
|
||||
@ -538,8 +539,8 @@ end
|
||||
},
|
||||
PartyRoleIconOffsetX = {
|
||||
type = "range",
|
||||
name = "Party Role Icon Horizontal Offset",
|
||||
desc = "How much to offset the Party Role icon from the bar horizontally",
|
||||
name = L["Party Role Icon Horizontal Offset"],
|
||||
desc = L["How much to offset the Party Role icon from the bar horizontally"],
|
||||
min = 0,
|
||||
max = 250,
|
||||
step = 1,
|
||||
@ -557,8 +558,8 @@ end
|
||||
},
|
||||
PartyRoleIconOffsetY = {
|
||||
type = "range",
|
||||
name = "Party Role Icon Vertical Offset",
|
||||
desc = "How much to offset the Party Role icon from the bar vertically",
|
||||
name = L["Party Role Icon Vertical Offset"],
|
||||
desc = L["How much to offset the Party Role icon from the bar vertically"],
|
||||
min = -300,
|
||||
max = 50,
|
||||
step = 1,
|
||||
@ -576,8 +577,8 @@ end
|
||||
},
|
||||
PartyRoleIconScale = {
|
||||
type = "range",
|
||||
name = "Party Role Icon Scale",
|
||||
desc = "How much to scale the Party Role icon",
|
||||
name = L["Party Role Icon Scale"],
|
||||
desc = L["How much to scale the Party Role icon"],
|
||||
min = 0.05,
|
||||
max = 2,
|
||||
step = 0.05,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceTargetInfo = IceCore_CreateClass(IceElement)
|
||||
|
||||
local DogTag = nil
|
||||
@ -107,14 +108,14 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["targetInfoHeader"] = {
|
||||
type = 'header',
|
||||
name = 'Look and Feel',
|
||||
name = L["Look and Feel"],
|
||||
order = 30.9
|
||||
}
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -133,8 +134,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -153,8 +154,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["fontSize"] = {
|
||||
type = 'range',
|
||||
name = 'Font Size',
|
||||
desc = 'Font Size',
|
||||
name = L["Font Size"],
|
||||
desc = L["Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.fontSize
|
||||
end,
|
||||
@ -173,8 +174,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["stackFontSize"] = {
|
||||
type = 'range',
|
||||
name = 'Stack Font Size',
|
||||
desc = 'Stack Font Size',
|
||||
name = L["Stack Font Size"],
|
||||
desc = L["Stack Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.stackFontSize
|
||||
end,
|
||||
@ -193,8 +194,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["zoom"] = {
|
||||
type = 'range',
|
||||
name = 'Buff zoom',
|
||||
desc = 'Buff/debuff icon zoom',
|
||||
name = L["Buff zoom"],
|
||||
desc = L["Buff/debuff icon zoom"],
|
||||
get = function()
|
||||
return self.moduleSettings.zoom
|
||||
end,
|
||||
@ -214,14 +215,14 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["buffHeader"] = {
|
||||
type = 'header',
|
||||
name = 'Buff/Debuff Settings',
|
||||
name = L["Buff/Debuff Settings"],
|
||||
order = 33.9
|
||||
}
|
||||
|
||||
opts["buffSize"] = {
|
||||
type = 'range',
|
||||
name = 'Buff size',
|
||||
desc = 'Buff/debuff icon size',
|
||||
name = L["Buff size"],
|
||||
desc = L["Buff/debuff icon size"],
|
||||
get = function()
|
||||
return self.moduleSettings.buffSize
|
||||
end,
|
||||
@ -240,8 +241,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["ownBuffSize"] = {
|
||||
type = 'range',
|
||||
name = 'Own buff size',
|
||||
desc = 'Buff/debuff size for buffs/debuffs that were applied by you, the player',
|
||||
name = L["Own buff size"],
|
||||
desc = L["Buff/debuff size for buffs/debuffs that were applied by you, the player"],
|
||||
get = function()
|
||||
return self.moduleSettings.ownBuffSize
|
||||
end,
|
||||
@ -260,8 +261,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["showBuffs"] = {
|
||||
type = 'toggle',
|
||||
name = 'Show buffs',
|
||||
desc = 'Toggles whether or not buffs are displayed at all',
|
||||
name = L["Show buffs"],
|
||||
desc = L["Toggles whether or not buffs are displayed at all"],
|
||||
get = function()
|
||||
return self.moduleSettings.showBuffs
|
||||
end,
|
||||
@ -277,8 +278,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["filterBuffs"] = {
|
||||
type = 'select',
|
||||
name = 'Only show buffs by me',
|
||||
desc = 'Will only show buffs that you cast instead of all buffs active',
|
||||
name = L["Only show buffs by me"],
|
||||
desc = L["Will only show buffs that you cast instead of all buffs active"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.filterBuffs)
|
||||
end,
|
||||
@ -295,8 +296,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["showDebuffs"] = {
|
||||
type = 'toggle',
|
||||
name = 'Show debuffs',
|
||||
desc = 'Toggles whether or not debuffs are displayed at all',
|
||||
name = L["Show debuffs"],
|
||||
desc = L["Toggles whether or not debuffs are displayed at all"],
|
||||
get = function()
|
||||
return self.moduleSettings.showDebuffs
|
||||
end,
|
||||
@ -312,8 +313,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["filterDebuffs"] = {
|
||||
type = 'select',
|
||||
name = 'Only show debuffs by me',
|
||||
desc = 'Will only show debuffs that you cast instead of all debuffs active',
|
||||
name = L["Only show debuffs by me"],
|
||||
desc = L["Will only show debuffs that you cast instead of all debuffs active"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.filterDebuffs)
|
||||
end,
|
||||
@ -330,8 +331,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["perRow"] = {
|
||||
type = 'range',
|
||||
name = 'Buffs / row',
|
||||
desc = 'How many buffs/debuffs is shown on each row',
|
||||
name = L["Buffs / row"],
|
||||
desc = L["How many buffs/debuffs is shown on each row"],
|
||||
get = function()
|
||||
return self.moduleSettings.perRow
|
||||
end,
|
||||
@ -350,14 +351,14 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["buffLocHeader"] = {
|
||||
type = 'header',
|
||||
name = 'Buff placement settings',
|
||||
name = L["Buff placement settings"],
|
||||
order = 37.01
|
||||
}
|
||||
|
||||
opts["buffGrowDirection"] = {
|
||||
type = 'select',
|
||||
name = 'Buff grow direction',
|
||||
desc = 'Which direction the buffs should grow from the anchor point',
|
||||
name = L["Buff grow direction"],
|
||||
desc = L["Which direction the buffs should grow from the anchor point"],
|
||||
values = { "Left", "Right" },
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.buffGrowDirection)
|
||||
@ -374,8 +375,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["buffAnchorTo"] = {
|
||||
type = 'select',
|
||||
name = 'Buff anchor to',
|
||||
desc = 'The point on the TargetInfo frame that the buff frame gets connected to',
|
||||
name = L["Buff anchor to"],
|
||||
desc = L["The point on the TargetInfo frame that the buff frame gets connected to"],
|
||||
values = ValidAnchors,
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.buffAnchorTo)
|
||||
@ -392,8 +393,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["buffXOffset"] = {
|
||||
type = 'range',
|
||||
name = 'Buff horizontal offset',
|
||||
desc = 'How far horizontally the buff frame should be offset from the anchor',
|
||||
name = L["Buff horizontal offset"],
|
||||
desc = L["How far horizontally the buff frame should be offset from the anchor"],
|
||||
min = -500,
|
||||
max = 500,
|
||||
step = 1,
|
||||
@ -412,8 +413,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["buffYOffset"] = {
|
||||
type = 'range',
|
||||
name = 'Buff vertical offset',
|
||||
desc = 'How far vertically the buff frame should be offset from the anchor',
|
||||
name = L["Buff vertical offset"],
|
||||
desc = L["How far vertically the buff frame should be offset from the anchor"],
|
||||
min = -500,
|
||||
max = 500,
|
||||
step = 1,
|
||||
@ -432,14 +433,14 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["debuffLocHeader"] = {
|
||||
type = 'header',
|
||||
name = 'Debuff placement settings',
|
||||
name = L["Debuff placement settings"],
|
||||
order = 37.801
|
||||
}
|
||||
|
||||
opts["debuffGrowDirection"] = {
|
||||
type = 'select',
|
||||
name = 'Debuff grow direction',
|
||||
desc = 'Which direction the debuffs should grow from the anchor point',
|
||||
name = L["Debuff grow direction"],
|
||||
desc = L["Which direction the debuffs should grow from the anchor point"],
|
||||
values = { "Left", "Right" },
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.debuffGrowDirection)
|
||||
@ -456,8 +457,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["debuffAnchorTo"] = {
|
||||
type = 'select',
|
||||
name = 'Debuff anchor to',
|
||||
desc = 'The point on the TargetInfo frame that the debuff frame gets connected to',
|
||||
name = L["Debuff anchor to"],
|
||||
desc = L["The point on the TargetInfo frame that the debuff frame gets connected to"],
|
||||
values = ValidAnchors,
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.debuffAnchorTo)
|
||||
@ -474,8 +475,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["debuffXOffset"] = {
|
||||
type = 'range',
|
||||
name = 'Debuff horizontal offset',
|
||||
desc = 'How far horizontally the debuff frame should be offset from the anchor',
|
||||
name = L["Debuff horizontal offset"],
|
||||
desc = L["How far horizontally the debuff frame should be offset from the anchor"],
|
||||
min = -500,
|
||||
max = 500,
|
||||
step = 1,
|
||||
@ -494,8 +495,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["debuffYOffset"] = {
|
||||
type = 'range',
|
||||
name = 'Debuff vertical offset',
|
||||
desc = 'How far vertically the debuff frame should be offset from the anchor',
|
||||
name = L["Debuff vertical offset"],
|
||||
desc = L["How far vertically the debuff frame should be offset from the anchor"],
|
||||
min = -500,
|
||||
max = 500,
|
||||
step = 1,
|
||||
@ -514,14 +515,14 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["mouseHeader"] = {
|
||||
type = 'header',
|
||||
name = 'Mouse settings',
|
||||
name = L["Mouse settings"],
|
||||
order = 37.9
|
||||
}
|
||||
|
||||
opts["mouseTarget"] = {
|
||||
type = 'toggle',
|
||||
name = 'Mouseover for target',
|
||||
desc = 'Toggle mouseover on/off for target',
|
||||
name = L["Mouseover for target"],
|
||||
desc = L["Toggle mouseover on/off for target"],
|
||||
get = function()
|
||||
return self.moduleSettings.mouseTarget
|
||||
end,
|
||||
@ -537,8 +538,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["mouseBuff"] = {
|
||||
type = 'toggle',
|
||||
name = 'Mouseover for buffs',
|
||||
desc = 'Toggle mouseover on/off for buffs/debuffs',
|
||||
name = L["Mouseover for buffs"],
|
||||
desc = L["Toggle mouseover on/off for buffs/debuffs"],
|
||||
get = function()
|
||||
return self.moduleSettings.mouseBuff
|
||||
end,
|
||||
@ -554,14 +555,14 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["textHeader"] = {
|
||||
type = 'header',
|
||||
name = 'Text Settings',
|
||||
name = L["Text Settings"],
|
||||
order = 39.01
|
||||
}
|
||||
|
||||
opts["line1Tag"] = {
|
||||
type = 'input',
|
||||
name = 'Line 1 tag',
|
||||
desc = 'DogTag-formatted string to use for the top text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save.',
|
||||
name = L["Line 1 tag"],
|
||||
desc = L["DogTag-formatted string to use for the top text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.line1Tag
|
||||
end,
|
||||
@ -580,8 +581,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["line2Tag"] = {
|
||||
type = 'input',
|
||||
name = 'Line 2 tag',
|
||||
desc = 'DogTag-formatted string to use for the second text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save.',
|
||||
name = L["Line 2 tag"],
|
||||
desc = L["DogTag-formatted string to use for the second text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.line2Tag
|
||||
end,
|
||||
@ -600,8 +601,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["line3Tag"] = {
|
||||
type = 'input',
|
||||
name = 'Line 3 tag',
|
||||
desc = 'DogTag-formatted string to use for the third text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save.',
|
||||
name = L["Line 3 tag"],
|
||||
desc = L["DogTag-formatted string to use for the third text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.line3Tag
|
||||
end,
|
||||
@ -620,8 +621,8 @@ function IceTargetInfo.prototype:GetOptions()
|
||||
|
||||
opts["line4Tag"] = {
|
||||
type = 'input',
|
||||
name = 'Line 4 tag',
|
||||
desc = 'DogTag-formatted string to use for the bottom text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save.',
|
||||
name = L["Line 4 tag"],
|
||||
desc = L["DogTag-formatted string to use for the bottom text line (leave blank to revert to old behavior)\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.line4Tag
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
-- needs to not be local so that we can inherit from it
|
||||
TargetInvuln = IceCore_CreateClass(IceUnitBar)
|
||||
|
||||
@ -119,8 +120,8 @@ function TargetInvuln.prototype:GetOptions()
|
||||
|
||||
opts["alertParty"] = {
|
||||
type = "toggle",
|
||||
name = "Alert Party",
|
||||
desc = "Broadcasts crowd control effects you apply to your target via the party chat channel",
|
||||
name = L["Alert Party"],
|
||||
desc = L["Broadcasts crowd control effects you apply to your target via the party chat channel"],
|
||||
get = function()
|
||||
return self.moduleSettings.alertParty
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
IceTargetMana = IceCore_CreateClass(IceUnitBar)
|
||||
IceTargetMana.prototype.registerEvents = true
|
||||
IceTargetHealth.prototype.color = nil
|
||||
@ -126,8 +127,8 @@ function IceTargetMana.prototype:GetOptions()
|
||||
|
||||
opts["scaleManaColor"] = {
|
||||
type = "toggle",
|
||||
name = "Color bar by mana %",
|
||||
desc = "Colors the mana bar from MaxManaColor to MinManaColor based on current mana %",
|
||||
name = L["Color bar by mana %"],
|
||||
desc = L["Colors the mana bar from MaxManaColor to MinManaColor based on current mana %"],
|
||||
get = function()
|
||||
return self.moduleSettings.scaleManaColor
|
||||
end,
|
||||
@ -143,8 +144,8 @@ function IceTargetMana.prototype:GetOptions()
|
||||
|
||||
opts["onlyShowMana"] = {
|
||||
type = 'toggle',
|
||||
name = 'Only show if target uses mana',
|
||||
desc = 'Will only show this bar if the target uses mana (as opposed to rage, energy, runic power, etc.)',
|
||||
name = L["Only show if target uses mana"],
|
||||
desc = L["Will only show this bar if the target uses mana (as opposed to rage, energy, runic power, etc.)"],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.onlyShowMana
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local SML = LibStub("LibSharedMedia-3.0")
|
||||
local DogTag = nil
|
||||
|
||||
@ -31,8 +32,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -51,8 +52,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -71,8 +72,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["showDebuffs"] = {
|
||||
type = "toggle",
|
||||
name = "Show stacking debuffs",
|
||||
desc = "Show stacking debuffs in ToT info",
|
||||
name = L["Show stacking debuffs"],
|
||||
desc = L["Show stacking debuffs in ToT info"],
|
||||
get = function()
|
||||
return self.moduleSettings.showDebuffs
|
||||
end,
|
||||
@ -88,8 +89,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["fontSize"] = {
|
||||
type = 'range',
|
||||
name = 'Font Size',
|
||||
desc = 'Font Size',
|
||||
name = L["Font Size"],
|
||||
desc = L["Font Size"],
|
||||
get = function()
|
||||
return self.moduleSettings.fontSize
|
||||
end,
|
||||
@ -108,8 +109,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["mouse"] = {
|
||||
type = 'toggle',
|
||||
name = 'Mouseover',
|
||||
desc = 'Toggle mouseover on/off',
|
||||
name = L["Mouseover"],
|
||||
desc = L["Toggle mouseover on/off"],
|
||||
get = function()
|
||||
return self.moduleSettings.mouse
|
||||
end,
|
||||
@ -125,8 +126,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["texture"] = {
|
||||
type = 'select',
|
||||
name = 'Texture',
|
||||
desc = 'ToT frame texture',
|
||||
name = L["Texture"],
|
||||
desc = L["ToT frame texture"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.texture)
|
||||
end,
|
||||
@ -143,8 +144,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["sizeToGap"] = {
|
||||
type = 'toggle',
|
||||
name = 'Size to gap',
|
||||
desc = "Automatically size this module to the addon's 'gap' setting",
|
||||
name = L["Size to gap"],
|
||||
desc = L["Automatically size this module to the addon's 'gap' setting"],
|
||||
get = function()
|
||||
return self.moduleSettings.sizeToGap
|
||||
end,
|
||||
@ -159,8 +160,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts["totWidth"] = {
|
||||
type = 'range',
|
||||
name = 'Width',
|
||||
desc = "Sets the width of this module if 'size to gap' is not set",
|
||||
name = L["Width"],
|
||||
desc = L["Sets the width of this module if 'size to gap' is not set"],
|
||||
min = 100,
|
||||
max = 600,
|
||||
step = 1,
|
||||
@ -181,12 +182,12 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
|
||||
opts.textSettings = {
|
||||
type = 'group',
|
||||
name = "|c"..self.configColor.."Text Settings|r",
|
||||
name = "|c"..self.configColor..L["Text Settings"].."|r",
|
||||
args = {
|
||||
leftTag = {
|
||||
type = 'input',
|
||||
name = 'Left Tag',
|
||||
desc = 'DogTag-formatted string to use for the left side of the bar.\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save.',
|
||||
name = L["Left Tag"],
|
||||
desc = L["DogTag-formatted string to use for the left side of the bar.\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.leftTag
|
||||
end,
|
||||
@ -204,8 +205,8 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
},
|
||||
rightTag = {
|
||||
type = 'input',
|
||||
name = 'Right Tag',
|
||||
desc = 'DogTag-formatted string to use for the right side of the bar.\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save.',
|
||||
name = L["Right Tag"],
|
||||
desc = L["DogTag-formatted string to use for the right side of the bar.\n\nType /dogtag for a list of available tags.\n\nRemember to press Accept after filling out this box or it will not save."],
|
||||
get = function()
|
||||
return self.moduleSettings.rightTag
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local TargetTargetCast = IceCore_CreateClass(IceCastBar)
|
||||
TargetTargetCast.prototype.scheduledEvent = nil
|
||||
|
||||
@ -78,8 +79,8 @@ function TargetTargetCast.prototype:GetOptions()
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
desc = 'Toggle bar visibility',
|
||||
name = L["Bar visible"],
|
||||
desc = L["Toggle bar visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bar']
|
||||
end,
|
||||
@ -99,8 +100,8 @@ function TargetTargetCast.prototype:GetOptions()
|
||||
|
||||
opts["bgVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar background visible',
|
||||
desc = 'Toggle bar background visibility',
|
||||
name = L["Bar background visible"],
|
||||
desc = L["Toggle bar background visibility"],
|
||||
get = function()
|
||||
return self.moduleSettings.barVisible['bg']
|
||||
end,
|
||||
@ -120,8 +121,8 @@ function TargetTargetCast.prototype:GetOptions()
|
||||
|
||||
opts["selfDisplayMode"] = {
|
||||
type = 'select',
|
||||
name = "Self Display Mode",
|
||||
desc = "What this bar should do whenever the player is the TargetOfTarget",
|
||||
name = L["Self Display Mode"],
|
||||
desc = L["What this bar should do whenever the player is the TargetOfTarget"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.selfDisplayMode)
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local TargetTargetHealth = IceCore_CreateClass(IceTargetHealth)
|
||||
TargetTargetHealth.prototype.scheduledEvent = nil
|
||||
|
||||
@ -41,8 +42,8 @@ function TargetTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["selfDisplayMode"] = {
|
||||
type = 'select',
|
||||
name = "Self Display Mode",
|
||||
desc = "What this bar should do whenever the player is the TargetOfTarget\n\nNOTE: When this is set to 'hide', then click-targeting is not available due to Blizzard's restrictions",
|
||||
name = L["Self Display Mode"],
|
||||
desc = L["What this bar should do whenever the player is the TargetOfTarget\n\nNOTE: When this is set to 'hide', then click-targeting is not available due to Blizzard's restrictions"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.selfDisplayMode)
|
||||
end,
|
||||
@ -68,8 +69,8 @@ function TargetTargetHealth.prototype:GetOptions()
|
||||
|
||||
opts["selfColor"] = {
|
||||
type = "color",
|
||||
name = "Self Color",
|
||||
desc = "Set the color of the TargetTarget bar if you are your target's target.",
|
||||
name = L["Self Color"],
|
||||
desc = L["Set the color of the TargetTarget bar if you are your target's target."],
|
||||
get = function()
|
||||
return self.moduleSettings.selfColor.r, self.moduleSettings.selfColor.g, self.moduleSettings.selfColor.b
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local TargetTargetMana = IceCore_CreateClass(IceTargetMana)
|
||||
TargetTargetMana.prototype.scheduledEvent = nil
|
||||
|
||||
@ -34,8 +35,8 @@ function TargetTargetMana.prototype:GetOptions()
|
||||
|
||||
opts["selfDisplayMode"] = {
|
||||
type = 'select',
|
||||
name = "Self Display Mode",
|
||||
desc = "What this bar should do whenever the player is the TargetOfTarget",
|
||||
name = L["Self Display Mode"],
|
||||
desc = L["What this bar should do whenever the player is the TargetOfTarget"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.selfDisplayMode)
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
--[[
|
||||
Name: IceThreat
|
||||
Author: Caryna/Turalyon EU (Alliance) (updated for Threat-2.0 by 'acapela' of WoWI and merged into IceHUD by Parnic)
|
||||
@ -52,8 +53,8 @@ function IceThreat.prototype:GetOptions()
|
||||
|
||||
opts["enabled"] = {
|
||||
type = "toggle",
|
||||
name = "Enabled",
|
||||
desc = "Enable/disable module",
|
||||
name = L["Enabled"],
|
||||
desc = L["Enable/disable module"],
|
||||
get = function()
|
||||
return self.moduleSettings.enabled
|
||||
end,
|
||||
@ -71,8 +72,8 @@ function IceThreat.prototype:GetOptions()
|
||||
opts["aggroAlpha"] =
|
||||
{
|
||||
type = 'range',
|
||||
name = 'Aggro Indicator alpha',
|
||||
desc = 'Aggro indicator alpha (0 is disabled)',
|
||||
name = L["Aggro Indicator alpha"],
|
||||
desc = L["Aggro indicator alpha (0 is disabled)"],
|
||||
min = 0,
|
||||
max = 1,
|
||||
step = 0.1,
|
||||
@ -91,8 +92,8 @@ function IceThreat.prototype:GetOptions()
|
||||
|
||||
opts["onlyShowInGroups"] = {
|
||||
type = 'toggle',
|
||||
name = 'Only show in groups',
|
||||
desc = 'Only show the threat bar if you are in a group or you have an active pet',
|
||||
name = L["Only show in groups"],
|
||||
desc = L["Only show the threat bar if you are in a group or you have an active pet"],
|
||||
get = function()
|
||||
return self.moduleSettings.onlyShowInGroups
|
||||
end,
|
||||
@ -108,8 +109,8 @@ function IceThreat.prototype:GetOptions()
|
||||
|
||||
opts["showScaledThreat"] = {
|
||||
type = 'toggle',
|
||||
name = 'Show scaled threat',
|
||||
desc = 'Whether to show threat in scaled values or raw values. Scaled threat means that you will pull aggro when it hits 100%. Raw threat means you will pull aggro at either 110% (melee) or 130% (ranged). Omen uses raw threat which can cause this mod to disagree with Omen if it is in scaled mode.',
|
||||
name = L["Show scaled threat"],
|
||||
desc = L["Whether to show threat in scaled values or raw values. Scaled threat means that you will pull aggro when it hits 100%. Raw threat means you will pull aggro at either 110% (melee) or 130% (ranged). Omen uses raw threat which can cause this mod to disagree with Omen if it is in scaled mode."],
|
||||
get = function()
|
||||
return self.moduleSettings.showScaledThreat
|
||||
end,
|
||||
@ -125,8 +126,8 @@ function IceThreat.prototype:GetOptions()
|
||||
|
||||
opts["displaySecondPlaceThreat"] = {
|
||||
type = 'toggle',
|
||||
name = 'Show second highest threat',
|
||||
desc = 'When tanking, this toggles whether or not the second-highest threat value found in your party or raid is displayed on top of your actual threat value',
|
||||
name = L["Show second highest threat"],
|
||||
desc = L["When tanking, this toggles whether or not the second-highest threat value found in your party or raid is displayed on top of your actual threat value"],
|
||||
width = 'double',
|
||||
get = function()
|
||||
return self.moduleSettings.displaySecondPlaceThreat
|
||||
@ -143,8 +144,8 @@ function IceThreat.prototype:GetOptions()
|
||||
|
||||
opts["secondPlaceThreatAlpha"] = {
|
||||
type = 'range',
|
||||
name = 'Second place threat alpha',
|
||||
desc = "The alpha value for the second-place threat bar to be (this is multiplied by the bar's alpha so it's always proportionate)",
|
||||
name = L["Second place threat alpha"],
|
||||
desc = L["The alpha value for the second-place threat bar to be (this is multiplied by the bar's alpha so it's always proportionate)"],
|
||||
get = function()
|
||||
return self.moduleSettings.secondPlaceThreatAlpha
|
||||
end,
|
||||
|
@ -1,3 +1,4 @@
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
|
||||
local Totems = IceCore_CreateClass(IceElement)
|
||||
|
||||
-- the below block is copied from TotemFrame.lua
|
||||
@ -46,8 +47,8 @@ function Totems.prototype:GetOptions()
|
||||
|
||||
opts["vpos"] = {
|
||||
type = "range",
|
||||
name = "Vertical Position",
|
||||
desc = "Vertical Position",
|
||||
name = L["Vertical Position"],
|
||||
desc = L["Vertical Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
@ -66,8 +67,8 @@ function Totems.prototype:GetOptions()
|
||||
|
||||
opts["hpos"] = {
|
||||
type = "range",
|
||||
name = "Horizontal Position",
|
||||
desc = "Horizontal Position",
|
||||
name = L["Horizontal Position"],
|
||||
desc = L["Horizontal Position"],
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
@ -86,8 +87,8 @@ function Totems.prototype:GetOptions()
|
||||
--[[
|
||||
opts["hideBlizz"] = {
|
||||
type = "toggle",
|
||||
name = "Hide Blizzard Frame",
|
||||
desc = "Hides Blizzard Rune frame and disables all events related to it",
|
||||
name = L["Hide Blizzard Frame"],
|
||||
desc = L["Hides Blizzard Rune frame and disables all events related to it"],
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
@ -107,8 +108,8 @@ function Totems.prototype:GetOptions()
|
||||
--]]
|
||||
opts["displayMode"] = {
|
||||
type = 'select',
|
||||
name = 'Totem orientation',
|
||||
desc = 'Whether the totems should draw side-by-side or on top of one another',
|
||||
name = L["Totem orientation"],
|
||||
desc = L["Whether the totems should draw side-by-side or on top of one another"],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.displayMode)
|
||||
end,
|
||||
@ -125,8 +126,8 @@ function Totems.prototype:GetOptions()
|
||||
--[[
|
||||
opts["cooldownMode"] = {
|
||||
type = 'select',
|
||||
name = 'Totem cooldown mode',
|
||||
desc = 'Choose whether the totems use a cooldown-style wipe or simply an alpha fade to show availability.',
|
||||
name = L["Totem cooldown mode"],
|
||||
desc = L["Choose whether the totems use a cooldown-style wipe or simply an alpha fade to show availability."],
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.cooldownMode)
|
||||
end,
|
||||
@ -143,8 +144,8 @@ function Totems.prototype:GetOptions()
|
||||
]]--
|
||||
opts["totemGap"] = {
|
||||
type = 'range',
|
||||
name = 'Totem gap',
|
||||
desc = 'Spacing between each totem (only works for graphical mode)',
|
||||
name = L["Totem gap"],
|
||||
desc = L["Spacing between each totem (only works for graphical mode)"],
|
||||
min = 0,
|
||||
max = 100,
|
||||
step = 1,
|
||||
|
Reference in New Issue
Block a user