Multientry (#7)
* from retail * from retail * from retail * from retail * from retail * from retail * remove new threat functions as they are not well implemented for now
This commit is contained in:
@@ -102,6 +102,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
alpha = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Bar Alpha"],
|
||||
order = 39.3,
|
||||
@@ -206,6 +207,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
zoom = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Zoom"],
|
||||
order = 40.91,
|
||||
@@ -292,6 +294,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
sparkWidth = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Width"],
|
||||
order = 44.6,
|
||||
@@ -303,6 +306,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
sparkHeight = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Height"],
|
||||
order = 44.7,
|
||||
@@ -314,6 +318,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
sparkOffsetX = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["X Offset"],
|
||||
order = 44.8,
|
||||
@@ -325,6 +330,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
sparkOffsetY = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Y Offset"],
|
||||
order = 44.9,
|
||||
@@ -345,6 +351,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
sparkRotation = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Rotation"],
|
||||
min = 0,
|
||||
|
||||
@@ -207,6 +207,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
rotation = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Start Angle"],
|
||||
order = 5,
|
||||
@@ -224,6 +225,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
arcLength = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Total Angle"],
|
||||
order = 8,
|
||||
@@ -235,6 +237,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
radius = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Radius"],
|
||||
order = 9,
|
||||
@@ -260,6 +263,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
gridWidth = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = function()
|
||||
if not data.gridType then return "" end
|
||||
@@ -277,6 +281,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
rowSpace = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
name = L["Row Space"],
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 10,
|
||||
@@ -287,6 +292,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
columnSpace = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
name = L["Column Space"],
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 11,
|
||||
@@ -298,6 +304,7 @@ local function createOptions(id, data)
|
||||
-- generic grow options
|
||||
space = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Space"],
|
||||
order = 7,
|
||||
@@ -312,6 +319,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
stagger = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Stagger"],
|
||||
order = 8,
|
||||
@@ -387,6 +395,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
limit = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
order = 26,
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Limit"],
|
||||
@@ -404,6 +413,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
scale = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Group Scale"],
|
||||
order = 28,
|
||||
|
||||
@@ -190,6 +190,7 @@ local function createDistributeAlignOptions(id, data)
|
||||
},
|
||||
distribute_h = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Distribute Horizontally"],
|
||||
order = 20,
|
||||
@@ -273,6 +274,7 @@ local function createDistributeAlignOptions(id, data)
|
||||
},
|
||||
distribute_v = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Distribute Vertically"],
|
||||
order = 25,
|
||||
@@ -356,6 +358,7 @@ local function createDistributeAlignOptions(id, data)
|
||||
},
|
||||
space_h = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Space Horizontally"],
|
||||
order = 30,
|
||||
@@ -439,6 +442,7 @@ local function createDistributeAlignOptions(id, data)
|
||||
},
|
||||
space_v = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Space Vertically"],
|
||||
order = 35,
|
||||
@@ -560,6 +564,7 @@ local function createOptions(id, data)
|
||||
-- Alignment/Distribute options are added below
|
||||
scale = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Group Scale"],
|
||||
order = 45,
|
||||
|
||||
@@ -124,6 +124,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
alpha = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth - indentWidth,
|
||||
name = L["Alpha"],
|
||||
order = 7.03,
|
||||
@@ -135,6 +136,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
zoom = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Zoom"],
|
||||
order = 7.04,
|
||||
@@ -153,6 +155,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
iconInset = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth - indentWidth,
|
||||
name = L["Icon Inset"],
|
||||
order = 7.06,
|
||||
|
||||
@@ -39,6 +39,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
sequence = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Animation Sequence"],
|
||||
min = 0,
|
||||
@@ -50,6 +51,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
model_z = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Z Offset"],
|
||||
softMin = -20,
|
||||
@@ -60,6 +62,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
model_x = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["X Offset"],
|
||||
softMin = -20,
|
||||
@@ -70,6 +73,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
model_y = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Y Offset"],
|
||||
softMin = -20,
|
||||
@@ -80,6 +84,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
rotation = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Rotation"],
|
||||
min = 0,
|
||||
|
||||
@@ -94,6 +94,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
backgroundOffset = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Background Offset"],
|
||||
min = 0,
|
||||
@@ -137,6 +138,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
user_x = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 42,
|
||||
name = L["Re-center X"],
|
||||
@@ -147,6 +149,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
user_y = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 44,
|
||||
name = L["Re-center Y"],
|
||||
@@ -157,6 +160,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
startAngle = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 42,
|
||||
name = L["Start Angle"],
|
||||
@@ -167,6 +171,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
endAngle = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 44,
|
||||
name = L["End Angle"],
|
||||
@@ -177,6 +182,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
crop_x = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Crop X"],
|
||||
order = 46,
|
||||
@@ -194,6 +200,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
crop_y = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Crop Y"],
|
||||
order = 47,
|
||||
@@ -211,6 +218,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
rotation = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Rotation"],
|
||||
order = 52,
|
||||
@@ -220,6 +228,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
alpha = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Alpha"],
|
||||
order = 48,
|
||||
@@ -244,6 +253,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
slant = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Slant Amount"],
|
||||
order = 55.4,
|
||||
|
||||
@@ -281,6 +281,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
startPercent = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Animation Start"],
|
||||
min = 0,
|
||||
@@ -291,6 +292,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
endPercent = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Animation End"],
|
||||
min = 0,
|
||||
@@ -301,6 +303,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
frameRate = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Frame Rate"],
|
||||
min = 3,
|
||||
@@ -518,6 +521,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
backgroundPercent = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Selected Frame"],
|
||||
min = 0,
|
||||
|
||||
@@ -55,6 +55,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
fontSize = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Size"],
|
||||
order = 46,
|
||||
@@ -153,6 +154,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
shadowXOffset = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth - indentWidth,
|
||||
name = L["Shadow X Offset"],
|
||||
softMin = -15,
|
||||
@@ -163,6 +165,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
shadowYOffset = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Shadow Y Offset"],
|
||||
softMin = -15,
|
||||
@@ -215,6 +218,7 @@ local function createOptions(id, data)
|
||||
width = WeakAuras.normalWidth,
|
||||
order = 49.1,
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
min = 1,
|
||||
softMax = screenWidth,
|
||||
bigStep = 1,
|
||||
|
||||
@@ -69,6 +69,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
alpha = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Alpha"],
|
||||
order = 25,
|
||||
@@ -85,6 +86,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
rotation = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Rotation"],
|
||||
min = 0,
|
||||
@@ -96,6 +98,7 @@ local function createOptions(id, data)
|
||||
},
|
||||
discrete_rotation = {
|
||||
type = "range",
|
||||
control = "WeakAurasSpinBox",
|
||||
width = WeakAuras.normalWidth,
|
||||
name = L["Discrete Rotation"],
|
||||
min = 0,
|
||||
|
||||
Reference in New Issue
Block a user