Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Graphics Help 03-21-19, 01:56 PM
Replies: 11
Views: 185
Posted By Fizzlemizz
Images requirements...

Images requirements (https://wow.gamepedia.com/XML/Texture)

try using "Interface/BUTTONS/WHITE8X8" for the texture.

If you add a file (including images or code) to to your addons you ,must...
Forum: Graphics Help 03-21-19, 09:25 AM
Replies: 11
Views: 185
Posted By Fizzlemizz
.tga or .blp texture formats only. BLP2PNG...

.tga or .blp texture formats only.
BLP2PNG (https://www.wowinterface.com/downloads/info6127-BLP2PNG.html) or BLPNG Converter (https://www.wowinterface.com/downloads/info22128-BLPNGConverter.html) are...
Forum: AddOn Help/Support 03-20-19, 10:05 AM
Replies: 2
Views: 94
Posted By Fizzlemizz
One fairly basic approach depending on knowing...

One fairly basic approach depending on knowing the total number of buttons ahead of time and the gridFrame size being absolute.

local gridFrame = CreateFrame("Frame", "DragFrame2",...
Forum: PTR API and Graphics Changes 03-13-19, 07:20 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
local iname, iqty, iicon = GetCurrencyInfo(1541) ...

local iname, iqty, iicon = GetCurrencyInfo(1541) --iron
local wname, wqty, wicon = GetCurrencyInfo(1540) -- wood
print("You have", iqty, iname, "and", wqty, wname)
Forum: PTR API and Graphics Changes 03-13-19, 05:06 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
I don't know if or how that information might be...

I don't know if or how that information might be obtained. Possibly someone else might know.
Forum: PTR API and Graphics Changes 03-13-19, 02:14 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
I thought you were asking how to pick them up...

I thought you were asking how to pick them up in-game :o

local name, qty, icon = GetCurrencyInfo(1560)
print("You have", qty, name)

Resources Ids: 824=WoD Garrison, 1220=Legion Order Hall, 1560=BfA...
Forum: PTR API and Graphics Changes 03-13-19, 12:49 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
I don't play the game enough to know if there is...

I don't play the game enough to know if there is a difference between war (mission table) resources and warfront resources.
Forum: PTR API and Graphics Changes 03-13-19, 12:39 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
local f = CreateFrame("ItemButton",...

local f = CreateFrame("ItemButton", "gwPaperDollBagSlotButton" .. i, GwPaperDollBagItemList, "GwPaperDollBagItem")

CreateFrame("Button ..)
CreateFrame("ItemButton ..)
is lua code for
<Button...
Forum: PTR API and Graphics Changes 03-13-19, 11:50 AM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
It's complaining about gwPaperDollBagSlotButton1...

It's complaining about gwPaperDollBagSlotButton1 not having a key called IconBorder. I can't see from the code supplied what you used to create gwPaperDollBagSlotButton1 (and presumably others).

My...
Forum: PTR API and Graphics Changes 03-12-19, 09:26 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
That's sort of it. ItemButtonTemplate is now the...

That's sort of it. ItemButtonTemplate is now the base widget ItemButton. It appears to have all the same elements (textures fontstrings etc.) using the same names and parent keys as the original...
Forum: PTR API and Graphics Changes 03-12-19, 09:02 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
It went from inheriting ItemButtonTemplate...

It went from inheriting ItemButtonTemplate (because that's now its base widget) to using ContainerFrameItemButtonMixin.
Forum: PTR API and Graphics Changes 03-12-19, 07:43 PM
Replies: 19
Views: 2,227
Posted By Fizzlemizz
They should still be the...

They should still be the same:

xxx.IconBorder:SetTexture(...)
xxx:SetNormalTexture(...)
Forum: Lua/XML Help 03-10-19, 02:55 PM
Replies: 9
Views: 314
Posted By Fizzlemizz
The game tends to show/hide these elements as...

The game tends to show/hide these elements as required so using SetAlpha means you don't have to worry about doing anything when this happens. That and they aren't clickable frames. If the game...
Forum: Lua/XML Help 03-10-19, 11:58 AM
Replies: 9
Views: 314
Posted By Fizzlemizz
PlayerPrestigePortrait:SetAlpha(0)...

PlayerPrestigePortrait:SetAlpha(0)
PlayerPrestigeBadge:SetAlpha(0)
TargetFrameTextureFramePrestigePortrait:SetAlpha(0)...
Forum: Lua/XML Help 03-10-19, 08:44 AM
Replies: 9
Views: 314
Posted By Fizzlemizz
You shouldn't need to create a frame and wait for...

You shouldn't need to create a frame and wait for an event as these frames are created/placed before addons are loaded.

Something like:
local function...
Forum: AddOn Search/Requests 03-08-19, 09:44 AM
Replies: 1
Views: 168
Posted By Fizzlemizz
BreakupLargeNumbers has been broken for a while...

BreakupLargeNumbers has been broken for a while even though it is still used in the stock UI code and not yet been replaced by FormatLargeNumber.

If you are putting it into an addon of your own...
Forum: Tutorials & Other Helpful Info. 03-08-19, 08:57 AM
Replies: 23
Views: 24,616
Posted By Fizzlemizz
I for one will miss the ability to see/adjust the...

I for one will miss the ability to see/adjust the .toc "on site".

When sending someone to addon.bool.no (which happens semi-regularly on the WoW UI and macro forum) it's quite easy to describe what...
Forum: General Authoring Discussion 02-26-19, 10:17 PM
Replies: 6
Views: 265
Posted By Fizzlemizz
I don't think you're seeing what you think you...

I don't think you're seeing what you think you are seeing (or I'm missing something).

local f = CreateFrame('Statusbar', nil, UIParent)
f:SetSize(100, 20)
f:SetPoint('CENTER')
f:SetMinMaxValues(0,...
Forum: General Authoring Discussion 02-26-19, 09:09 AM
Replies: 3
Views: 134
Posted By Fizzlemizz
The shards are added to the Shards table. Given...

The shards are added to the Shards table. Given the complexity of the shard template I'm not sure a crude "flip"will work for everything but...

-- Inverts all child textures of a frame.
local...
Forum: Lua/XML Help 02-25-19, 05:00 PM
Replies: 1
Views: 234
Posted By Fizzlemizz
Events starting with UNIT_ will pass the unit the...

Events starting with UNIT_ will pass the unit the event is for as the first parameter.

local Events = {}
function Events.UNIT_AURA(self, ...)
local unit = ...
-- check the units...
Forum: Wish List 02-25-19, 03:41 PM
Replies: 6
Views: 253
Posted By Fizzlemizz
You know the realms your characters are on,...

You know the realms your characters are on, couldn't you run a nameplate scan for characters on the same realm(s) and compare those, storing the results?

SLASH_AAAAA1 = "/aa"
SlashCmdList["AAAAA"] =...
Forum: AddOn Help/Support 02-25-19, 11:19 AM
Replies: 8
Views: 265
Posted By Fizzlemizz
This is done by the game where each of your...

This is done by the game where each of your "sub-frame" unit buttons is created by inheriting from the SecureUnitButtonTemplate. Once you've done that, when you click on a unit, the game will make it...
Forum: AddOn Help/Support 02-24-19, 07:58 PM
Replies: 8
Views: 265
Posted By Fizzlemizz
It would be best if you actually describe what...

It would be best if you actually describe what you are trying to do or what effect it is you see in ElvUI that you are trying to duplicate. As far as I know ElvUI doesn't have Target("Phred")...
Forum: General Authoring Discussion 02-24-19, 04:24 PM
Replies: 2
Views: 168
Posted By Fizzlemizz
Something to look at and play with. A function to...

Something to look at and play with. A function to uniformly create all sub-frames (buttons in this case) with the return value being stored in a table attached to the main frame. Not the only...
Forum: Lua/XML Help 02-12-19, 04:49 PM
Replies: 2
Views: 245
Posted By Fizzlemizz
ActionButton.lua ~line...

ActionButton.lua ~line 337
SetActionUIButton(self, action, self.cooldown);
Showing results 1 to 25 of 500