Thread Tools Display Modes
08-21-08, 12:42 PM   #1
LBXZero
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 61
Minor notice for ToggleX API functions

As I suggested a solution for UberQuest about opening its panel with the Toggle Quest Log key binding, I found a change in the UI.

A couple of the ToggleX API functions have been removed and replaced with ToggleFrame(X). One of these functions is ToggleQuestLog. So if you are having problems using the standard key binding, do a quick check of Binding.xml to see if the function changed to ToggleFrame(X).

If this does impact your mod for WotLK, my solution is hooking the frame's OnShow function and add the line "HideUIPanel(X)" to the beginning of your function so that when that frame shows, it is immediately hidden and your frame will show instead. If the Blizzard frame does not have an OnShow event, then set the script for it.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Minor notice for ToggleX API functions

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