10-26-22, 08:22 AM | #1 |
Bindpad
If anyone has a possible fix for this now broken addon as of the DF prepatch, please help. I am so lost without this addon.
|
|
10-27-22, 01:21 PM | #2 |
So this is a 100% hack, and not a correct fix, but since you appear desperate (as I was), I'll share.
It will have some visual glitches (Blizz redid tabbing code as part of UI revamp which is what broke BindPad), but more or less limps along at least for me. Add the below code to Bindpad.xml (near the top of the file, after the <Script ...> lines, but before the <Button ...> ones will work. It basically duplicates the old widgets Blizz had, and adds some dummy textures that the Blizz code now expects to be present. Code:
<!-- BEGIN MOD --> <CheckButton name="PopupButtonTemplate" virtual="true" inherits="SimplePopupButtonTemplate"> <NormalTexture name="$parentIcon" parentKey="Icon"> <Size> <AbsDimension x="36" y="36"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </NormalTexture> <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> <CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/> </CheckButton> <Button name="TabButtonTemplate" virtual="true"> <Size> <AbsDimension x="115" y="32"/> </Size> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentLeftDisabled" parentKey="LeftDisabled" file="Interface\HelpFrame\HelpFrameTab-Active"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-3"/> </Offset> </Anchor> </Anchors> <TexCoords left="0" right="0.25" top="0" bottom="1.0"/> </Texture> <Texture name="$parentMiddleDisabled" parentKey="MiddleDisabled" file="Interface\HelpFrame\HelpFrameTab-Active"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.LeftDisabled" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.25" right="0.75" top="0" bottom="1.0"/> </Texture> <Texture name="$parentRightDisabled" parentKey="RightDisabled" file="Interface\HelpFrame\HelpFrameTab-Active"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.MiddleDisabled" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/> </Texture> <Texture name="$parentLeft" parentKey="Left" file="Interface\HelpFrame\HelpFrameTab-Inactive"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"/> </Anchors> <TexCoords left="0" right="0.25" top="0" bottom="1.0"/> </Texture> <Texture name="$parentMiddle" parentKey="Middle" file="Interface\HelpFrame\HelpFrameTab-Inactive"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.25" right="0.75" top="0" bottom="1.0"/> </Texture> <Texture name="$parentRight" parentKey="Right" file="Interface\HelpFrame\HelpFrameTab-Inactive"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.Middle" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/> </Texture> <!-- MOD START --> <Texture name="$parentLeftActive" parentKey="LeftActive" file="Interface\HelpFrame\HelpFrameTab-Inactive"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.Middle" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/> </Texture> <Texture name="$parentMiddleActive" parentKey="MiddleActive" file="Interface\HelpFrame\HelpFrameTab-Inactive"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.Middle" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/> </Texture> <Texture name="$parentRightActive" parentKey="RightActive" file="Interface\HelpFrame\HelpFrameTab-Inactive"> <Size> <AbsDimension x="16" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeKey="$parent.Middle" relativePoint="RIGHT"/> </Anchors> <TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/> </Texture> <!-- MOD END --> </Layer> </Layers> <Scripts> <OnLoad> PanelTemplates_TabResize(self, 0, nil, self.minWidth); </OnLoad> </Scripts> <ButtonText name="$parentText" parentKey="Text"> <Size> <AbsDimension x="0" y="13"/> </Size> <Anchors> <Anchor point="BOTTOM"> <Offset> <AbsDimension x="0" y="5"/> </Offset> </Anchor> </Anchors> </ButtonText> <NormalFont style="GameFontNormalSmall"/> <HighlightFont style="GameFontHighlightSmall"/> <DisabledFont style="GameFontDisableSmall"/> <HighlightTexture name="$parentHighlightTexture" parentKey="HighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD"> <Size> <AbsDimension x="5" y="32"/> </Size> <Anchors> <Anchor point="BOTTOM"> <Offset> <AbsDimension x="2" y="-8"/> </Offset> </Anchor> </Anchors> </HighlightTexture> </Button> <!-- END MOD --> |
|
WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Bindpad |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|