View Single Post
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