diff --git a/IIfA/IIfA.txt b/IIfA/IIfA.txt
index 7305e42..32d832c 100644
--- a/IIfA/IIfA.txt
+++ b/IIfA/IIfA.txt
@@ -26,7 +26,7 @@ libs\LibAddonMenu-2.0\controls\iconpicker.lua
libs\LibAddonMenu-2.0\controls\divider.lua
libs\LibCustomMenu\LibCustomMenu.lua
-StringRegistration.lua
+IIfA_Preload.lua
IIfA.xml
Bindings.xml
diff --git a/IIfA/IIfA.xml b/IIfA/IIfA.xml
index e1759b7..b6788a7 100644
--- a/IIfA/IIfA.xml
+++ b/IIfA/IIfA.xml
@@ -10,8 +10,9 @@
<Controls>
<Backdrop name="$(parent)_BG" inherits="ZO_DefaultBackdrop" ></Backdrop>
- <Control name="$(parent)_Header" hidden="false" resizeToFitDescendents="true" >
- <Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP"/>
+ <Control name="$(parent)_Header" hidden="false" resizeToFitDescendents="false" >
+ <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
+ <Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-10" />
<Controls>
<!-- Lock/Unlock buttons -->
@@ -130,8 +131,9 @@
<Control name="$(parent)_Dropdown" inherits="ZO_ComboBox" mouseEnabled="true" >
- <Dimensions x="200" y="30" />
+ <Dimensions y="30" />
<Anchor point="TOPLEFT" relativeTo="$(parent)_BagButton" relativePoint="TOPRIGHT" offsetX="10" />
+ <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)_BagButton" relativePoint="BOTTOMRIGHT" offsetX="260" offsetY="5" />
<OnShow> IIfA:GuiSetupDropdown(self)</OnShow>
<OnMouseEnter>IIfA:GuiShowTooltip(self, "Select inventory to view")</OnMouseEnter>
@@ -139,8 +141,9 @@
</Control>
<Control name="$(parent)_Dropdown_Quality" inherits="ZO_ComboBox" mouseEnabled="true" >
- <Dimensions x="140" y="30" />
+ <Dimensions y="30" />
<Anchor point="TOPLEFT" relativeTo="$(parent)_Dropdown" relativePoint="TOPRIGHT" offsetX="10" />
+ <Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="0" offsetY= "44"/>
<OnShow> IIfA:GuiSetupQualityDropdown(self)</OnShow>
<OnMouseEnter> IIfA:GuiShowTooltip(self, "Select quality")</OnMouseEnter>
<OnMouseExit> IIfA:GuiHideTooltip(self)</OnMouseExit>
@@ -154,9 +157,10 @@
<Button name="$(parent)_Button0">
<Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="0" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Items")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "All", nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "All", nil)</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds"
@@ -166,9 +170,10 @@
<Button name="$(parent)_Button1">
<Anchor point="TOPRIGHT" relativeTo="$(parent)_Button0" relativePoint="TOPRIGHT" offsetX="50" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Weapons")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", nil)</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_weapons_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_weapons_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_weapons_over.dds"
@@ -177,9 +182,10 @@
<Button name="$(parent)_Button2">
<Anchor point="TOPRIGHT" relativeTo="$(parent)_Button1" relativePoint="TOPRIGHT" offsetX="50" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Armor")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", nil)</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_armor_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_armor_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_armor_over.dds"
@@ -188,9 +194,10 @@
<Button name="$(parent)_Button3">
<Anchor point="TOPRIGHT" relativeTo="$(parent)_Button2" relativePoint="TOPRIGHT" offsetX="50" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Consumables")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_CONTAINER, ITEMTYPE_FOOD, ITEMTYPE_DRINK, ITEMTYPE_POTION, ITEMTYPE_POISON, ITEMTYPE_RECIPE, ITEMTYPE_RACIAL_STYLE_MOTIF, ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_CONTAINER, ITEMTYPE_FOOD, ITEMTYPE_DRINK, ITEMTYPE_POTION, ITEMTYPE_POISON, ITEMTYPE_RECIPE, ITEMTYPE_RACIAL_STYLE_MOTIF, ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_consumables_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_consumables_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_consumables_over.dds"
@@ -199,9 +206,10 @@
<Button name="$(parent)_Button4">
<Anchor point="TOPRIGHT" relativeTo="$(parent)_Button3" relativePoint="TOPRIGHT" offsetX="50" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Crafting Materials")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_ARMOR_TRAIT, ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER, ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_RUNE_POTENCY, ITEMTYPE_FISH, ITEMTYPE_FLAVORING, ITEMTYPE_INGREDIENT, ITEMTYPE_POISON_BASE, ITEMTYPE_POTION_BASE, ITEMTYPE_REAGENT, ITEMTYPE_RAW_MATERIAL, ITEMTYPE_WEAPON_TRAIT, ITEMTYPE_SPICE, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_STYLE_MATERIAL})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_ARMOR_TRAIT, ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER, ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_RUNE_POTENCY, ITEMTYPE_FISH, ITEMTYPE_FLAVORING, ITEMTYPE_INGREDIENT, ITEMTYPE_POISON_BASE, ITEMTYPE_POTION_BASE, ITEMTYPE_REAGENT, ITEMTYPE_RAW_MATERIAL, ITEMTYPE_WEAPON_TRAIT, ITEMTYPE_SPICE, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_STYLE_MATERIAL})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_crafting_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_crafting_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_crafting_over.dds"
@@ -211,9 +219,10 @@
<Button name="$(parent)_Button5">
<Anchor point="TOPRIGHT" relativeTo="$(parent)_Button4" relativePoint="TOPRIGHT" offsetX="50" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Furniture")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION, SPECIALIZED_ITEMTYPE_FURNISHING_LIGHT, SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL, SPECIALIZED_ITEMTYPE_FURNISHING_SEATING, SPECIALIZED_ITEMTYPE_FURNISHING_TARGET_DUMMY})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION, SPECIALIZED_ITEMTYPE_FURNISHING_LIGHT, SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL, SPECIALIZED_ITEMTYPE_FURNISHING_SEATING, SPECIALIZED_ITEMTYPE_FURNISHING_TARGET_DUMMY})</OnMouseUp>
<Textures normal="/esoui/art/treeicons/collection_indexicon_furnishings_up.dds"
pressed="esoui/art/treeicons/collection_indexicon_furnishings_down.dds"
mouseOver="/esoui/art/treeicons/collection_indexicon_furnishings_over.dds"
@@ -225,9 +234,10 @@
<Button name="$(parent)_Button6">
<Anchor point="TOPRIGHT" relativeTo="$(parent)_Button5" relativePoint="TOPRIGHT" offsetX="50" offsetY="0"/>
<Dimensions x="40" y="40" />
+ <OnInitialized>IIfA_SetButtonFilterText(self)</OnInitialized>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Miscellaneous")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON, ITEMTYPE_SOUL_GEM, ITEMTYPE_SIEGE, ITEMTYPE_LURE, ITEMTYPE_TOOL, ITEMTYPE_REPAIR, ITEMTYPE_TRASH, ITEMTYPE_TROPHY, ITEMTYPE_COLLECTIBLE, ITEMTYPE_FISH, ITEMTYPE_TREASURE})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON, ITEMTYPE_SOUL_GEM, ITEMTYPE_SIEGE, ITEMTYPE_LURE, ITEMTYPE_TOOL, ITEMTYPE_REPAIR, ITEMTYPE_TRASH, ITEMTYPE_TROPHY, ITEMTYPE_COLLECTIBLE, ITEMTYPE_FISH, ITEMTYPE_TREASURE})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_misc_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_misc_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_misc_over.dds"
@@ -251,7 +261,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Weapons")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", nil)</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
@@ -261,50 +271,50 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "One Handed")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", {WEAPONTYPE_AXE, WEAPONTYPE_HAMMER, WEAPONTYPE_SWORD, WEAPONTYPE_DAGGER}, {"Axe", "Hammer", "Sword", "Dagger"})</OnMouseUp>
- <Textures normal = "IIfA/assets/weapons/onehanded_up.dds"
- pressed = "IIfA/assets/weapons/onehanded_down.dds"
- mouseOver = "IIfA/assets/weapons/onehanded_over.dds" />
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", {WEAPONTYPE_AXE, WEAPONTYPE_HAMMER, WEAPONTYPE_SWORD, WEAPONTYPE_DAGGER}, {"Axe", "Hammer", "Sword", "Dagger"})</OnMouseUp>
+ <Textures normal = "esoui/art/icons/progression_tabicon_dualwield_up.dds"
+ pressed = "esoui/art/icons/progression_tabicon_dualwield_down.dds"
+ mouseOver = "esoui/art/icons/progression_tabicon_dualwield_over.dds" />
</Button>
<Button name="$(parent)_Button2">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button1" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Two Handed")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", {WEAPONTYPE_TWO_HANDED_AXE, WEAPONTYPE_TWO_HANDED_HAMMER, WEAPONTYPE_TWO_HANDED_SWORD}, {"Axe 2H", "Hammer 2H", "Sword 2H"})</OnMouseUp>
- <Textures normal="IIfA/assets/weapons/twohanded_up.dds"
- pressed="IIfA/assets/weapons/twohanded_down.dds"
- mouseOver="IIfA/assets/weapons/twohanded_over.dds" />
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", {WEAPONTYPE_TWO_HANDED_AXE, WEAPONTYPE_TWO_HANDED_HAMMER, WEAPONTYPE_TWO_HANDED_SWORD}, {"Axe 2H", "Hammer 2H", "Sword 2H"})</OnMouseUp>
+ <Textures normal="esoui/art/icons/progression_tabicon_2handed_up.dds"
+ pressed="esoui/art/icons/progression_tabicon_2handed_down.dds"
+ mouseOver="esoui/art/icons/progression_tabicon_2handed_over.dds" />
</Button>
<Button name="$(parent)_Button3">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button2" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Bows")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", {WEAPONTYPE_BOW})</OnMouseUp>
- <Textures normal="IIfA/assets/weapons/bow_up.dds"
- pressed="IIfA/assets/weapons/bow_down.dds"
- mouseOver="IIfA/assets/weapons/bow_over.dds" />
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", {WEAPONTYPE_BOW})</OnMouseUp>
+ <Textures normal="esoui/art/icons/progression_tabicon_bow_inactive.dds"
+ pressed="esoui/art/icons/progression_tabicon_bow_down.dds"
+ mouseOver="esoui/art/icons/progression_tabicon_bow_over.dds" />
</Button>
<Button name="$(parent)_Button4">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button3" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Destruction Staves")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", {WEAPONTYPE_FIRE_STAFF, WEAPONTYPE_FROST_STAFF, WEAPONTYPE_LIGHTNING_STAFF}, {"Flame", "Frost", "Lightning"})</OnMouseUp>
- <Textures normal="IIfA/assets/weapons/destruction_up.dds"
- pressed="IIfA/assets/weapons/destruction_down.dds"
- mouseOver="IIfA/assets/weapons/destruction_over.dds" />
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", {WEAPONTYPE_FIRE_STAFF, WEAPONTYPE_FROST_STAFF, WEAPONTYPE_LIGHTNING_STAFF}, {"Flame", "Frost", "Lightning"})</OnMouseUp>
+ <Textures normal="esoui/art/icons/progression_tabicon_damagestaff_up.dds"
+ pressed="esoui/art/icons/progression_tabicon_damagestaff_down.dds"
+ mouseOver="esoui/art/icons/progression_tabicon_damagestaff_over.dds" />
</Button>
<Button name="$(parent)_Button5">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button4" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Healing Staves")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", {WEAPONTYPE_HEALING_STAFF})</OnMouseUp>
- <Textures normal="IIfA/assets/weapons/healing_up.dds"
- pressed="IIfA/assets/weapons/healing_down.dds"
- mouseOver="IIfA/assets/weapons/healing_over.dds" />
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", {WEAPONTYPE_HEALING_STAFF})</OnMouseUp>
+ <Textures normal="esoui/art/icons/progression_tabicon_healstaff_up.dds"
+ pressed="esoui/art/icons/progression_tabicon_healstaff_down.dds"
+ mouseOver="esoui/art/icons/progression_tabicon_healstaff_over.dds" />
</Button>
</Controls>
</Control>
@@ -320,27 +330,27 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Armor")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", nil)</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
- pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
- mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
+ pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
+ mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
</Button>
<Button name="$(parent)_Button1">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button0" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Heavy")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", {ARMORTYPE_HEAVY, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", {ARMORTYPE_HEAVY, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
<Textures normal="/esoui/art/icons/progression_tabicon_armorheavy_up.dds"
- pressed="/esoui/art/icons/progression_tabicon_armorheavy_down.dds"
- mouseOver="/esoui/art/icons/progression_tabicon_armorheavy_over.dds" />
+ pressed="/esoui/art/icons/progression_tabicon_armorheavy_down.dds"
+ mouseOver="/esoui/art/icons/progression_tabicon_armorheavy_over.dds" />
</Button>
<Button name="$(parent)_Button2">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button1" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Medium")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", {ARMORTYPE_MEDIUM, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", {ARMORTYPE_MEDIUM, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
<Textures normal="/esoui/art/icons/progression_tabicon_armormedium_up.dds"
pressed="/esoui/art/icons/progression_tabicon_armormedium_down.dds"
mouseOver="/esoui/art/icons/progression_tabicon_armormedium_over.dds" />
@@ -350,7 +360,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Light")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", {ARMORTYPE_LIGHT, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", {ARMORTYPE_LIGHT, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
<Textures normal="/esoui/art/icons/progression_tabicon_armorlight_up.dds"
pressed="/esoui/art/icons/progression_tabicon_armorlight_down.dds"
mouseOver="/esoui/art/icons/progression_tabicon_armorlight_over.dds" />
@@ -360,7 +370,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Clothing")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", {ARMORTYPE_NONE, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", {ARMORTYPE_NONE, EQUIP_TYPE_HEAD, EQUIP_TYPE_SHOULDERS, EQUIP_TYPE_CHEST, EQUIP_TYPE_HAND, EQUIP_TYPE_LEGS, EQUIP_TYPE_FEET, EQUIP_TYPE_WAIST}, {"Placeholder", "Head", "Shoulders", "Chest", "Hands", "Legs", "Feet", "Waist"})</OnMouseUp>
<Textures normal="IIfA/assets/apparel/clothing_up.dds"
pressed="IIfA/assets/apparel/clothing_down.dds"
mouseOver="IIfA/assets/apparel/clothing_over.dds" />
@@ -370,7 +380,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Shields")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Weapons", {WEAPONTYPE_SHIELD}, nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Weapons", {WEAPONTYPE_SHIELD}, nil)</OnMouseUp>
<Textures normal="IIfA/assets/apparel/shield_up.dds"
pressed="IIfA/assets/apparel/shield_down.dds"
mouseOver="IIfA/assets/apparel/shield_over.dds" />
@@ -380,7 +390,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Jewelry")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Body", {ARMORTYPE_NONE, EQUIP_TYPE_RING, EQUIP_TYPE_NECK}, {"Placeholder", "Ring", "Necklace"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Body", {ARMORTYPE_NONE, EQUIP_TYPE_RING, EQUIP_TYPE_NECK}, {"Placeholder", "Ring", "Necklace"})</OnMouseUp>
<Textures normal="IIfA/assets/apparel/jewelry_up.dds"
pressed="IIfA/assets/apparel/jewelry_down.dds"
mouseOver="IIfA/assets/apparel/jewelry_over.dds" />
@@ -399,7 +409,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Consumables")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_CONTAINER, ITEMTYPE_FOOD, ITEMTYPE_DRINK, ITEMTYPE_POTION, ITEMTYPE_POISON, ITEMTYPE_RECIPE, ITEMTYPE_RACIAL_STYLE_MOTIF, ITEMTYPE_MASTER_WRIT, ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_CONTAINER, ITEMTYPE_FOOD, ITEMTYPE_DRINK, ITEMTYPE_POTION, ITEMTYPE_POISON, ITEMTYPE_RECIPE, ITEMTYPE_RACIAL_STYLE_MOTIF, ITEMTYPE_MASTER_WRIT, ITEMTYPE_AVA_REPAIR, ITEMTYPE_TOOL, ITEMTYPE_CROWN_REPAIR})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
@@ -409,7 +419,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Food")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_FOOD})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_FOOD})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/food/food_up.dds"
pressed = "IIfA/assets/consumables/food/food_down.dds"
@@ -420,7 +430,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Drink")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_DRINK})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_DRINK})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/drinks/drink_up.dds"
pressed = "IIfA/assets/consumables/drinks/drink_down.dds"
@@ -431,7 +441,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Recipes")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_RECIPE, SPECIALIZED_ITEMTYPE_RECIPE_BLACKSMITHING_DIAGRAM_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_CLOTHIER_PATTERN_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_WOODWORKING_BLUEPRINT_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_ENCHANTING_SCHEMATIC_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_ALCHEMY_FORMULA_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_PROVISIONING_DESIGN_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_PROVISIONING_STANDARD_FOOD}, {"Placeholder", "Diagrams", "Patterns", "Blueprints", "Schematics", "Formulae", "Faux Food/Candles", "Food/Drink"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_RECIPE, SPECIALIZED_ITEMTYPE_RECIPE_BLACKSMITHING_DIAGRAM_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_CLOTHIER_PATTERN_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_WOODWORKING_BLUEPRINT_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_ENCHANTING_SCHEMATIC_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_ALCHEMY_FORMULA_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_PROVISIONING_DESIGN_FURNISHING, SPECIALIZED_ITEMTYPE_RECIPE_PROVISIONING_STANDARD_FOOD}, {"Placeholder", "Diagrams", "Patterns", "Blueprints", "Schematics", "Formulae", "Faux Food/Candles", "Food/Drink"})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/recipes/recipe_up.dds"
pressed = "IIfA/assets/consumables/recipes/recipe_down.dds"
@@ -442,7 +452,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Potions")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_POTION})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_POTION})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/potion/potion_up.dds"
pressed = "IIfA/assets/consumables/potion/potion_down.dds"
@@ -453,7 +463,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Poisons")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_POISON})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_POISON})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/poison/poison_up.dds"
pressed = "IIfA/assets/consumables/poison/poison_down.dds"
@@ -464,7 +474,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Motifs")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_RACIAL_STYLE_MOTIF})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_RACIAL_STYLE_MOTIF})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/motifs/motif_up.dds"
pressed = "IIfA/assets/consumables/motifs/motif_down.dds"
@@ -475,7 +485,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Master Writs")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_MASTER_WRIT})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_MASTER_WRIT})</OnMouseUp>
<Textures
normal = "esoui/art/crafting/formulae_tabicon_up.dds"
pressed = "esoui/art/crafting/formulae_tabicon_down.dds"
@@ -486,7 +496,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Containers")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_CONTAINER})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_CONTAINER})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/containers/container_up.dds"
pressed = "IIfA/assets/consumables/containers/container_down.dds"
@@ -497,7 +507,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Repair")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Consumable", {ITEMTYPE_AVA_REPAIR, ITEMTYPE_CROWN_REPAIR})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Consumable", {ITEMTYPE_AVA_REPAIR, ITEMTYPE_CROWN_REPAIR})</OnMouseUp>
<Textures
normal = "IIfA/assets/consumables/repair/repair_up.dds"
pressed = "IIfA/assets/consumables/repair/repair_down.dds"
@@ -517,7 +527,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Materials")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_ARMOR_TRAIT, ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER, ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_RUNE_POTENCY, ITEMTYPE_FISH, ITEMTYPE_FLAVORING, ITEMTYPE_INGREDIENT, ITEMTYPE_POISON_BASE, ITEMTYPE_POTION_BASE, ITEMTYPE_REAGENT, ITEMTYPE_RAW_MATERIAL, ITEMTYPE_WEAPON_TRAIT, ITEMTYPE_SPICE, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_STYLE_MATERIAL, ITEMTYPE_FURNISHING_MATERIAL})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_ARMOR_TRAIT, ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER, ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_RUNE_POTENCY, ITEMTYPE_FISH, ITEMTYPE_FLAVORING, ITEMTYPE_INGREDIENT, ITEMTYPE_POISON_BASE, ITEMTYPE_POTION_BASE, ITEMTYPE_REAGENT, ITEMTYPE_RAW_MATERIAL, ITEMTYPE_WEAPON_TRAIT, ITEMTYPE_SPICE, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER, ITEMTYPE_STYLE_MATERIAL, ITEMTYPE_FURNISHING_MATERIAL})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
@@ -527,7 +537,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Smithing")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER}, {"Raw Material", "Material", "Temper"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_BLACKSMITHING_RAW_MATERIAL, ITEMTYPE_BLACKSMITHING_MATERIAL, ITEMTYPE_BLACKSMITHING_BOOSTER}, {"Raw Material", "Material", "Temper"})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_blacksmithing_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_blacksmithing_down.dds"
@@ -538,7 +548,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Clothier")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER}, {"Raw Material", "Material", "Tannin"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_CLOTHIER_RAW_MATERIAL, ITEMTYPE_CLOTHIER_MATERIAL, ITEMTYPE_CLOTHIER_BOOSTER}, {"Raw Material", "Material", "Tannin"})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_clothing_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_clothing_down.dds"
@@ -549,7 +559,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Woodworking")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER}, {"Raw Material", "Material", "Resin"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_WOODWORKING_RAW_MATERIAL, ITEMTYPE_WOODWORKING_MATERIAL, ITEMTYPE_WOODWORKING_BOOSTER}, {"Raw Material", "Material", "Resin"})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_woodworking_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_woodworking_down.dds"
@@ -560,7 +570,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Alchemy")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_REAGENT, ITEMTYPE_POTION_BASE, ITEMTYPE_POISON_BASE}, {"Reagent", "Potion Base", "Poison Base"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_REAGENT, ITEMTYPE_POTION_BASE, ITEMTYPE_POISON_BASE}, {"Reagent", "Potion Base", "Poison Base"})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_alchemy_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_alchemy_down.dds"
@@ -571,7 +581,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Enchanting")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_ENCHANTING_RUNE_POTENCY}, {"Aspect", "Essence", "Potency"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_ENCHANTING_RUNE_ASPECT, ITEMTYPE_ENCHANTING_RUNE_ESSENCE, ITEMTYPE_ENCHANTING_RUNE_POTENCY}, {"Aspect", "Essence", "Potency"})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_enchanting_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_enchanting_down.dds"
@@ -582,7 +592,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Provisioning")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_INGREDIENT})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_INGREDIENT})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_provisioning_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_provisioning_down.dds"
@@ -593,7 +603,7 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Styles")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_STYLE_MATERIAL})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_STYLE_MATERIAL})</OnMouseUp>
<Textures
normal = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_styleMaterial_up.dds"
pressed = "EsoUI/Art/Inventory/inventory_tabIcon_Craftbag_styleMaterial_down.dds"
@@ -604,29 +614,29 @@
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Weapon Traits")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_WEAPON_TRAIT})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_WEAPON_TRAIT})</OnMouseUp>
<Textures
- normal = "IIfA/assets/materials/wtrait/wtrait_up.dds"
- pressed = "IIfA/assets/materials/wtrait/wtrait_down.dds"
- mouseOver = "IIfA/assets/materials/wtrait/wtrait_over.dds" />
+ normal = "esoui/art/tutorial/smithing_tabicon_weaponset_up.dds"
+ pressed = "esoui/art/tutorial/smithing_tabicon_weaponset_down.dds"
+ mouseOver = "esoui/art/tutorial/smithing_tabicon_weaponset_over.dds" />
</Button>
<Button name="$(parent)_Button9">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button8" relativePoint="TOPRIGHT" offsetX="-1" offsetY="0"/>
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Armor Traits")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_ARMOR_TRAIT})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_ARMOR_TRAIT})</OnMouseUp>
<Textures
- normal = "IIfA/assets/materials/atrait/atrait_up.dds"
- pressed = "IIfA/assets/materials/atrait/atrait_down.dds"
- mouseOver = "IIfA/assets/materials/atrait/atrait_over.dds" />
+ normal = "esoui/art/tutorial/smithing_tabicon_armorset_up.dds"
+ pressed = "esoui/art/tutorial/smithing_tabicon_armorset_down.dds"
+ mouseOver = "esoui/art/tutorial/smithing_tabicon_armorset_over.dds" />
</Button>
<Button name="$(parent)_Button10">
<Anchor point="TOPLEFT" relativeTo="$(parent)_Button9" relativePoint="TOPRIGHT" offsetX="-1" offsetY="0"/>
<Dimensions x="36" y="36"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Furnishing")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Materials", {ITEMTYPE_FURNISHING_MATERIAL})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Materials", {ITEMTYPE_FURNISHING_MATERIAL})</OnMouseUp>
<Textures
normal="/esoui/art/treeicons/collection_indexicon_furnishings_up.dds"
pressed="esoui/art/treeicons/collection_indexicon_furnishings_down.dds"
@@ -646,7 +656,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Furniture")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION, SPECIALIZED_ITEMTYPE_FURNISHING_LIGHT, SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL, SPECIALIZED_ITEMTYPE_FURNISHING_SEATING, SPECIALIZED_ITEMTYPE_FURNISHING_TARGET_DUMMY})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION, SPECIALIZED_ITEMTYPE_FURNISHING_LIGHT, SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL, SPECIALIZED_ITEMTYPE_FURNISHING_SEATING, SPECIALIZED_ITEMTYPE_FURNISHING_TARGET_DUMMY})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
@@ -656,7 +666,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Crafting Stations")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_CRAFTING_STATION})</OnMouseUp>
<Textures normal = "/esoui/art/treeicons/housing_indexicon_workshop_up.dds"
pressed = "/esoui/art/treeicons/housing_indexicon_workshop_down.dds"
mouseOver = "/esoui/art/treeicons/housing_indexicon_workshop_over.dds" />
@@ -666,7 +676,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Lights")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_LIGHT})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_LIGHT})</OnMouseUp>
<Textures normal="/esoui/art/treeicons/housing_indexicon_shrine_up.dds"
pressed="/esoui/art/treeicons/housing_indexicon_shrine_down.dds"
mouseOver="/esoui/art/treeicons/housing_indexicon_shrine_over.dds" />
@@ -676,7 +686,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Ornamental")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_ORNAMENTAL})</OnMouseUp>
<Textures normal="/esoui/art/treeicons/housing_indexicon_gallery_up.dds"
pressed="/esoui/art/treeicons/housing_indexicon_gallery_down.dds"
mouseOver="/esoui/art/treeicons/housing_indexicon_gallery_over.dds" />
@@ -686,7 +696,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Seating")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_SEATING})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_SEATING})</OnMouseUp>
<Textures normal="/esoui/art/treeicons/collection_indexicon_furnishings_up.dds"
pressed="/esoui/art/treeicons/collection_indexicon_furnishings_down.dds"
mouseOver="/esoui/art/treeicons/collection_indexicon_furnishings_over.dds" />
@@ -696,7 +706,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Target Dummies")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_TARGET_DUMMY})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Specialized", {ITEMTYPE_FURNISHING, SPECIALIZED_ITEMTYPE_FURNISHING_TARGET_DUMMY})</OnMouseUp>
<Textures normal="/esoui/art/treeicons/collection_indexicon_weapons+armor_up.dds"
pressed="/esoui/art/treeicons/collection_indexicon_weapons+armor_down.dds"
mouseOver="/esoui/art/treeicons/collection_indexicon_weapons+armor_over.dds" />
@@ -715,7 +725,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "All Misc.")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON, ITEMTYPE_SOUL_GEM, ITEMTYPE_SIEGE, ITEMTYPE_LURE, ITEMTYPE_TOOL, ITEMTYPE_REPAIR, ITEMTYPE_TRASH, ITEMTYPE_TROPHY, ITEMTYPE_COLLECTIBLE, ITEMTYPE_FISH, ITEMTYPE_TREASURE})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON, ITEMTYPE_SOUL_GEM, ITEMTYPE_SIEGE, ITEMTYPE_LURE, ITEMTYPE_TOOL, ITEMTYPE_REPAIR, ITEMTYPE_TRASH, ITEMTYPE_TROPHY, ITEMTYPE_COLLECTIBLE, ITEMTYPE_FISH, ITEMTYPE_TREASURE})</OnMouseUp>
<Textures normal="/esoui/art/inventory/inventory_tabicon_all_up.dds"
pressed="/esoui/art/inventory/inventory_tabicon_all_down.dds"
mouseOver="/esoui/art/inventory/inventory_tabicon_all_over.dds" />
@@ -725,7 +735,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Glyphs")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON}, {"Glyph - Armor", "Glyph - Jewelry", "Glyph - Weapon"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_GLYPH_ARMOR, ITEMTYPE_GLYPH_JEWELRY, ITEMTYPE_GLYPH_WEAPON}, {"Glyph - Armor", "Glyph - Jewelry", "Glyph - Weapon"})</OnMouseUp>
<Textures
normal = "IIfA/assets/miscellaneous/glyphs/glyphs_up.dds"
pressed = "IIfA/assets/miscellaneous/glyphs/glyphs_down.dds"
@@ -737,7 +747,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Soul Gems")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_SOUL_GEM})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_SOUL_GEM})</OnMouseUp>
<Textures
normal = "IIfA/assets/miscellaneous/soulgem/soulgem_up.dds"
pressed = "IIfA/assets/miscellaneous/soulgem/soulgem_down.dds"
@@ -749,7 +759,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Siege")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_SIEGE})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_SIEGE})</OnMouseUp>
<Textures
normal = "IIfA/assets/miscellaneous/avaweapon/avaweapon_up.dds"
pressed = "IIfA/assets/miscellaneous/avaweapon/avaweapon_down.dds"
@@ -761,7 +771,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Bait")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_LURE})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_LURE})</OnMouseUp>
<Textures
normal = "IIfA/assets/miscellaneous/bait/bait_up.dds"
pressed = "IIfA/assets/miscellaneous/bait/bait_down.dds"
@@ -773,11 +783,11 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Tools")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_TOOL})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_TOOL})</OnMouseUp>
<Textures
- normal = "IIfA/assets/consumables/repair/repair_up.dds"
- pressed = "IIfA/assets/consumables/repair/repair_down.dds"
- mouseOver = "IIfA/assets/consumables/repair/repair_over.dds"
+ normal = "esoui/art/tutorial/vendor_tabicon_repair_up.dds"
+ pressed = "esoui/art/tutorial/vendor_tabicon_repair_down.dds"
+ mouseOver = "esoui/art/tutorial/vendor_tabicon_repair_over.dds"
/>
</Button>
<Button name="$(parent)_Button6">
@@ -785,11 +795,11 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Trophy")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_TROPHY, ITEMTYPE_COLLECTIBLE, ITEMTYPE_FISH, ITEMTYPE_TREASURE}, {"Trophy", "Collectible", "Fish", "Treasure"})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_TROPHY, ITEMTYPE_COLLECTIBLE, ITEMTYPE_FISH, ITEMTYPE_TREASURE}, {"Trophy", "Collectible", "Fish", "Treasure"})</OnMouseUp>
<Textures
- normal = "IIfA/assets/miscellaneous/trophy/trophy_up.dds"
- pressed = "IIfA/assets/miscellaneous/trophy/trophy_down.dds"
- mouseOver = "IIfA/assets/miscellaneous/trophy/trophy_over.dds"
+ normal = "esoui/art/campaign/campaign_tabicon_leaderboard_up.dds"
+ pressed = "esoui/art/campaign/campaign_tabicon_leaderboard_down.dds"
+ mouseOver = "esoui/art/campaign/campaign_tabicon_leaderboard_over.dds"
/>
</Button>
<Button name="$(parent)_Button7">
@@ -797,7 +807,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Stolen")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Stolen", nil)</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Stolen", nil)</OnMouseUp>
<Textures
normal = "/esoui/art/vendor/vendor_tabicon_fence_up.dds"
pressed = "/esoui/art/vendor/vendor_tabicon_fence_down.dds"
@@ -809,7 +819,7 @@
<Dimensions x="38" y="38"/>
<OnMouseEnter>IIfA:GuiShowFilterTooltip(self, "Trash")</OnMouseEnter>
<OnMouseExit>IIfA:GuiHideTooltip(self)</OnMouseExit>
- <OnMouseUp>IIfA:GuiOnFilterButton(self, "Misc", {ITEMTYPE_TRASH})</OnMouseUp>
+ <OnMouseUp>IIfA:GuiOnFilterButton(self, button, "Misc", {ITEMTYPE_TRASH})</OnMouseUp>
<Textures
normal = "IIfA/assets/miscellaneous/trash/trash_up.dds"
pressed = "IIfA/assets/miscellaneous/trash/trash_down.dds"
@@ -869,7 +879,7 @@
<Controls>
<Slider name="$(parent)_Slider" mouseEnabled="true" step="1" inherits="ZO_VerticalScrollbarBase">
<Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="16" offsetY="0"/>
- <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="20" offsetY="-20"/>
+ <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="23" offsetY="-20"/>
<OnMouseDown>self.locked = false</OnMouseDown>
<OnMouseUp>self.locked = true</OnMouseUp>
@@ -882,7 +892,7 @@
<Control name="$(parent)_Search" mouseEnabled="true" resizeToFitDescendents="true">
- <Anchor point="TOPLEFT" relativeTo="$(parent)_ListHolder" relativePoint="BOTTOMLEFT" offsetX="16" offsetY="10"/>
+ <Anchor point="TOPLEFT" relativeTo="$(parent)_ListHolder" relativePoint="BOTTOMLEFT" offsetX="5" offsetY="5"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="-56" offsetY="-20"/>
<Controls>
diff --git a/IIfA/IIfABackpack.lua b/IIfA/IIfABackpack.lua
index 719a8e9..db8537a 100644
--- a/IIfA/IIfABackpack.lua
+++ b/IIfA/IIfABackpack.lua
@@ -728,6 +728,8 @@ function IIfA:GetSceneVisible(name)
end
end
+
+
function IIfA:SetupBackpack()
IIfA.InventoryListFilter = IIfA.data.in2DefaultInventoryFrameView
IIfA:CreateInventoryScroll()
diff --git a/IIfA/IIfASettingsAdapter.lua b/IIfA/IIfASettingsAdapter.lua
index 085db83..b5c9812 100644
--- a/IIfA/IIfASettingsAdapter.lua
+++ b/IIfA/IIfASettingsAdapter.lua
@@ -37,8 +37,8 @@ function IIfA:GetIgnoredCharacterList()
end
function IIfA:SetSetNameFilterOnly(value)
- IIFA_GUI_SetNameOnly:SetState((IIfA.bFilterOnSetName and BSTATE_PRESSED) or BSTATE_NORMAL)
IIfA.bFilterOnSetName = not IIfA.bFilterOnSetName
+ IIFA_GUI_SetNameOnly:SetState((IIfA.bFilterOnSetName and BSTATE_PRESSED) or BSTATE_NORMAL)
IIfA:UpdateScrollDataLinesData()
IIfA:UpdateInventoryScroll()
end
diff --git a/IIfA/IIfA_Preload.lua b/IIfA/IIfA_Preload.lua
new file mode 100644
index 0000000..0d8dfbb
--- /dev/null
+++ b/IIfA/IIfA_Preload.lua
@@ -0,0 +1,30 @@
+ --this creates a menu for the addon.
+local IIfA = IIfA
+
+local strings = {
+ IIFA_BAG_BAGPACK = "Inventar",
+ IIFA_BAG_BANK = "Bank",
+ IIFA_BAG_CRAFTBAG = "CraftBag",
+}
+
+
+for stringId, stringValue in pairs(strings) do
+ ZO_CreateStringId(stringId, stringValue)
+ SafeAddVersion(stringId, 1)
+end
+
+
+function IIfA_SetButtonFilterText(control)
+ local buttonIdxNames = {
+ [1] = "All",
+ [2] = "Weapons",
+ [3] = "Armor",
+ [4] = "Consumables",
+ [5] = "Materials",
+ [6] = "Furniture",
+ [7] = "Miscellaneous",
+ }
+ local name = control:GetName() or ""
+ local buttonIdx = control:GetName():gsub("IIFA_GUI_Header_Filter_Button", "") + 1
+ control.filterText = buttonIdxNames[buttonIdx]
+end
\ No newline at end of file
diff --git a/IIfA/IIfA_xml_adapter.lua b/IIfA/IIfA_xml_adapter.lua
index 3dfe35d..2ccf01c 100644
--- a/IIfA/IIfA_xml_adapter.lua
+++ b/IIfA/IIfA_xml_adapter.lua
@@ -162,10 +162,23 @@ function IIfA:GuiSetupQualityDropdown(dropdown)
end
-- click functions
-function IIfA:GuiOnFilterButton(control, filterGroup, filterTypes, filterTypeNames)
+function IIfA:GuiOnFilterButton(control, mouseButton, filterGroup, filterTypes, filterTypeNames)
-- identify if this is main or sub filter clicked
+
local b_isMain = control:GetName():find("Sub") == nil
-
+
+ if mouseButton == MOUSE_BUTTON_INDEX_RIGHT then
+ if b_isMain then
+ IIfA.LastFilterControl = control
+ return IIfA:GuiOnFilterButton(IIFA_GUI_Header_Filter:GetChild(1), MOUSE_BUTTON_INDEX_LEFT, "All", nil)
+ else
+ IIfA.LastSubFilterControl = control
+ local parentIdx = control:GetParent():GetName():gsub("IIFA_GUI_Header_Subfilter_", "")
+ local parentControl = IIFA_GUI_Header_Filter:GetChild(parentIdx+1)
+ return IIfA:GuiOnFilterButton(parentControl, MOUSE_BUTTON_INDEX_LEFT, parentControl.filterText)
+ end
+ end
+
if b_isMain then
if IIfA.LastFilterControl ~= nil then
IIfA.LastFilterControl:SetState(BSTATE_NORMAL)
diff --git a/IIfA/StringRegistration.lua b/IIfA/StringRegistration.lua
deleted file mode 100644
index ed9ad57..0000000
--- a/IIfA/StringRegistration.lua
+++ /dev/null
@@ -1,14 +0,0 @@
- --this creates a menu for the addon.
-local IIfA = IIfA
-
-local strings = {
- IIFA_BAG_BAGPACK = "Inventar",
- IIFA_BAG_BANK = "Bank",
- IIFA_BAG_CRAFTBAG = "CraftBag",
-}
-
-
-for stringId, stringValue in pairs(strings) do
- ZO_CreateStringId(stringId, stringValue)
- SafeAddVersion(stringId, 1)
-end
\ No newline at end of file