bags: rewrite of the core frame creation logic

This commit is contained in:
shagu
2018-04-26 23:12:15 +02:00
parent 354e9e0d91
commit 087491b8b2
3 changed files with 67 additions and 69 deletions
+1 -1
View File
@@ -919,9 +919,9 @@ pfUI:RegisterModule("gui", function ()
CreateConfig(nil, this, T["Disable Item Quality Color For \"Common\" Items"], C.appearance.bags, "borderlimit", "checkbox")
CreateConfig(nil, this, T["Enable Item Quality Color For Equipment Only"], C.appearance.bags, "borderonlygear", "checkbox")
CreateConfig(nil, this, T["Enable Movable Bags"], C.appearance.bags, "movable", "checkbox")
CreateConfig(nil, this, T["Icon Size"], C.appearance.bags, "icon_size")
CreateConfig(nil, this, T["Bagslots Per Row"], C.appearance.bags, "bagrowlength")
CreateConfig(nil, this, T["Bankslots Per Row"], C.appearance.bags, "bankrowlength")
CreateConfig(nil, this, T["Item Slot Size"], C.appearance.bags, "icon_size")
CreateConfig(nil, this, T["Auto Sell Grey Items"], C.global, "autosell", "checkbox")
CreateConfig(nil, this, T["Auto Repair Items"], C.global, "autorepair", "checkbox")
this.setup = true