Weird parenting Problem
Code:
local function Border(arg1,arg2,arg3,arg4,arg5,arg6) I took a look at the Blizzard-TalentUi.lua but couldnt find anything that makes those different from the first one :S After opening the window, i can hide that specific frame just fine with /run :Hide() so i guess it's registered after the first one? |
The frames don't exist until PlayerTalentFrame_CreateSpecSpellButton is called with the ability index as the second argument.
Hook that function when ADDON_LOADED fires for Blizzard_TalentUI and then parent whatever you need to the created frame within the hook. |
Sounds complicated :| Never worked with hooking functions...
edit: It looks like i somehow got it together. Thanks :) I managed to parent a border to the Frame, now whats left is hiding the one child and the settexcoords stuff |
Example code, this'll set the scale of spec buttons 2-<whatever the limit is> to be twice as large.
Lua Code:
Edit: Oh, you figured it out. Damn it :p |
Ok i got it to work now, you're my hero :D
And i learned something new ^.^ |
All times are GMT -6. The time now is 09:35 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI