Quantcast
[DEV] Updating addons to work with LightHeaded - WoWInterface
Thread Tools Display Modes
03-27-08, 04:12 AM   #1
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
[DEV] Updating addons to work with LightHeaded

If you are an addon developer who uses LightHeaded, you will need to make some changes to work with the 2.4 patch. The following are the relevant changes:

I no longer hook the QuestLogTitleButton_OnClick function, and instead secure hook the SelectQuestLogEntry function. This means you should no longer need to manually trigger an update of LightHeaded. Since you need to use that function to get the quest information anyway it should be automatic.

In addition, all of the functions that previously took title, level as the first two parameters now take qid. You can use the convenience function LightHeaded:GetCurrentQID() to get the current qid to pass into the function.

Please contact me directly if you have any issues.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
  Reply With Quote

WoWInterface » Featured Projects » Cladhaire's Mods » [DEV] Updating addons to work with LightHeaded

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off