You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UI.lua
+65-31Lines changed: 65 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -121,10 +121,10 @@ function MPT:CreateSpace(order)
121
121
returnt
122
122
end
123
123
124
-
localGeneralOptions= {
124
+
125
+
localMainOptions= {
125
126
type="group",
126
-
name="General Options",
127
-
order=1,
127
+
name="Non-Display Settings",
128
128
args= {
129
129
Preview= {
130
130
type="execute",
@@ -152,22 +152,31 @@ local GeneralOptions = {
152
152
MPT:ShowPBFrame()
153
153
end,
154
154
},
155
-
FrameStrata=MPT:CreateDropDown(3, {["BACKGROUND"] ="BACKGROUND", ["LOW"] ="LOW", ["MEDIUM"] ="MEDIUM", ["HIGH"] ="HIGH", ["DIALOG"] ="DIALOG", ["FULLSCREEN"] ="FULLSCREEN", ["FULLSCREEN_DIALOG"] ="FULLSCREEN_DIALOG", ["TOOLTIP"] ="TOOLTIP"}, "Frame Strata", "Strata of the entire Display. High is the default because this makes it appear above the options window.", "FrameStrata", true),
156
-
Scale=MPT:CreateRange(4, "Group Scale", "Scale of the entire Display", 0.1, 3, 0.01, "Scale", true),
157
-
Spacing=MPT:CreateRange(5, "Bar Spacing", "Spacing for each Bar", -5, 10, 1, "Spacing", true),
158
155
UpdateRate=MPT:CreateRange(6, "Update Interval", "How often the timer updates", 0.1, 3, 0.1, "UpdateRate"),
159
-
HideTracker=MPT:CreateToggle(7, "Hide Objective Tracker", "Hides Blizzard's Objective Tracker during an active M+", "HideTracker"),
160
-
CloseBags=MPT:CreateToggle(8, "Close Bags", "Automatically close bags after inserting the Keystone", "CloseBags"),
yOffset=MPT:CreateRange(5, "Y Offset", "Y Offset", -4000, 4000, 1, {"Position", "yOffset"}, true),
197
+
194
198
}
195
199
}
196
200
localBackground= {
@@ -209,19 +213,37 @@ local Background = {
209
213
}
210
214
}
211
215
212
-
216
+
localGeneralOptions= {
217
+
type="group",
218
+
name="General Options",
219
+
order=1,
220
+
args= {
221
+
FrameStrata=MPT:CreateDropDown(1, {["BACKGROUND"] ="BACKGROUND", ["LOW"] ="LOW", ["MEDIUM"] ="MEDIUM", ["HIGH"] ="HIGH", ["DIALOG"] ="DIALOG", ["FULLSCREEN"] ="FULLSCREEN", ["FULLSCREEN_DIALOG"] ="FULLSCREEN_DIALOG", ["TOOLTIP"] ="TOOLTIP"}, "Frame Strata", "Strata of the entire Display. High is the default because this makes it appear above the options window.", "FrameStrata", true),
222
+
Scale=MPT:CreateRange(2, "Group Scale", "Scale of the entire Display", 0.1, 3, 0.01, "Scale", true),
223
+
Spacing=MPT:CreateRange(3, "Bar Spacing", "Spacing for each Bar", -5, 10, 1, "Spacing", true),
224
+
HideTracker=MPT:CreateToggle(4, "Hide Objective Tracker", "Hides Blizzard's Objective Tracker during an active M+", "HideTracker"),
PBInfo.args.Format=MPT:CreateDropDown(11, {[1] ="DD/MM/YY", [2] ="MM/DD/YY"}, "Date Format", "Format in which the date is displayed", {"PBInfo", "Format"}, true)
442
464
PBInfo.args.AnchoredTo=MPT:CreateDropDown(12, {["MainFrame"] ="Main Frame", ["KeyInfo"] ="KeyInfo Bar", ["TimerBar"] ="Timer Bar", ["Bosses"] ="Bosses", ["ForcesBar"] ="Forces Bar"}, "Anchored To", "What the PB Info is anchored to", {"PBInfo", "AnchoredTo"}, true)
0 commit comments