GithubHelp home page GithubHelp logo

bagnon-masque's Introduction

Preview

Install Patreon Community

Bagnon Masque 🎨

Allows you to skin your Bagnon windows with any Masque skin.
Logically, it requires both Bagnon and Masque to work.

bagnon-masque's People

Contributors

jaliborc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bagnon-masque's Issues

Swatter reports a problem during login

Date: 2019-12-22 06:09:51
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Bagnon_Facade\Bagnon_Facade.lua line 29:
attempt to index local 'Item' (a nil value)
Debug:
Bagnon_Facade\Bagnon_Facade.lua:29: in main chunk
Locals:
ADDON = "Bagnon"
Addon =

{
IsKeyring = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:374
IsRetail = true
GetOwnerID = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:269
Frames =
{
}
InBank = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:351
ItemGroup =
{
}
RestoreItemData = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:303
Frame =
{
}
OptionsToggle =
{
}
Bag =
{
}
IsBank = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:378
RegisterMessage = defined @interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = defined @interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
IsBagCached = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:290
Base =
{
}
UnregisterSignal = defined @interface\AddOns\Bagnon\common\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua:78
GetOwnerAddress = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:274
Slash = "bgn"
OnEnable = defined @interface\AddOns\Bagnon\common\Wildpants\Wildpants.lua:98
Name = "Bagnon"
IterateOwners = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:114
InGuild = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:359
SendSignal = defined @interface\AddOns\Bagnon\common\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua:82
NewModule = defined @interface\AddOns\Bagnon\common\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua:68
RestoreLinkData = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:327
Item =
{
}
OwnerSelector =
{
}
Commands =
{
}
SortButton =
{
}
InventoryFrame =
{
}
Title =
{
}
BagGroup =
{
}
SearchToggle =
{
}
Events =
{
}
SearchFrame =
{
}
TooltipCounts =
{
}
BrokerDisplay =
{
}
LDB =
{
}
Tag = "BAGNON_"
PickupItem = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:249
IsBackpackBag = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:370
IsOwnerCached = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:286
AutoDisplay =
{
}
UnregisterAllEvents = defined @interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
Sorting =
{
}
BankFrame =
{
}
Parented =
{
}
GetItemID = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:228
IsReagents = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:386
IsBankBag = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:382
Owners =
{
}
ShowOptions = defined @interface\AddOns\Bagnon\common\Wildpants\Wildpants.lua:157
GetBagInfo = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:145
DropButton =
{
}
BagToggle =
{
}
Rules =
{
}
GetOwnerInfo = defined @interface\AddOns\Bagnon\common\Wildpants\libs\LibItemCache-2.0\LibItemCache-2.0.lua:74
MoneyFrame =
{
}
Tipped =
{
}
RegisterSignal = defined @interface\AddOns\Bagnon\common\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua:74
UnregisterAllMessages = defined @i
AddOns:
KalielsTracker, v3.1.10
Swatter, v8.2.6511 (SwimmingSeadragon)
ActionBarSaver, v
Altoholic, vr191
Atlas, vv1.45.01.11302
AtlasArena, vv1.07.04
AtlasBattlegrounds, vv1.45.00.11302.00
AtlasBurningCrusade, vv1.45.00
AtlasCataclysm, vv1.45.00
AtlasClassicWoW, vv1.45.00.11302.05
AtlasClassOrderHalls, vv1.45.00
AtlasDungeonLocs, vv1.45.00.11302.01
AtlasLegion, vv1.45.01
AtlasMistsofPandaria, vv1.45.00
AtlasOutdoorRaids, vv1.45.00
AtlasScenarios, vv1.44.00
AtlasTransportation, vv1.45.00.11302.00
AtlasWarlordsofDraenor, vv1.45.00
AtlasWorldEvents, vv3.26
AtlasWrathoftheLichKing, vv1.45.00
AtlasLoot, vv8.10.00
AtlasLootBattleforAzeroth, vv8.10.00
AtlasLootBurningCrusade, vv8.10.00
AtlasLootCataclysm, vv8.10.00
AtlasLootClasses, vv3.1
AtlasLootClassic, vv8.10.00
AtlasLootLegion, vv8.10.00
AtlasLootMistsofPandaria, vv8.10.00
AtlasLootWarlordsofDraenor, vv8.10.00
AtlasLootWrathoftheLichKing, vv8.10.00
Auctionator, v8.2.0
AzeritePowerWeights, v8.2.16
BagBrother, v
Bagnon, v8.2.21
BagnonFacade, v8.2.0
DataStore, vr66
DataStoreCharacters, vr44
Masque, v8.2.8
TomTom, vv80205-1.0.9

Pawn support

Loved making my inventory match my buttons bars, sadly skinning my buttons causes the Pawn upgrade icons to stop working, just wondered if this could be fixed/added ?

item icon can't display

in wlk classic,why are many item icons not showing after using a skin.
only the “Gear” skin display is normal, other skins have problems
ps:I have upgraded the addon version to the latest version

Upcoming Changes to Masque

First, this repo doesn't seem to match the files at Curse, so instead of linking to a forked branch, I used a gist.

In the next Alpha, Masque will support the IconBorder region better, in that it will hook it to prevent the game, or add-ons, from changing its texture. Having tested it in game, this requires a bit of a reversal of what's currently being done in Bagnon_Facade.

Instead of using the IconGlow region for the Border, simply pass IconBorder as its own region. Additionally, you'll want to set the texture for IconGlow to nil so it doesn't show up.

You should also use the second return of the LibStub() call to get Masque's API version and use that determine how to make the call so it's backwards-compatible. I've done everything in the gist except include the additional regions (listed in the change log).

https://gist.github.com/StormFX/f9de64de5d60197cb75451f9e81900e5

IconBorder Issue

It seems that under certain conditions, Bagnon_Facade's IconBorder:SetAlpha(0) isn't being applied correctly. For example, if one reloads the UI, kills a mob, loots a gray or white item and then moves an uncommon or better item to that slot, the IconBorder is still in its default state. I'm not sure why this occurring. I was able to fix it by using adding an additional method overwrite to Bagnon_Facade, like so:

-- Edited this line:
local NewItem, FreeItem, UpdateItem = Item.New, Item.Free, Item.Update

-- Added these lines:
function Item:Update()
	UpdateItem(self)
	self.IconBorder:SetAlpha(0)
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.