Hi,
I'll try to summarize the undocumented code changes that have been found in WotLK so far.
I am posting here because I cannot post in the official US forum since I am playing in the EU.
Perhaps somebody can post these findings to the thread below.
Link to the offcial WotLK changes:
http://forums.worldofwarcraft.com/th...02271194&sid=1
API functions:
Code:
* UIDropDownMenu_SetWidth(width, frame) --> UIDropDownMenu_SetWidth(frame, width, padding)
* UIDropDownMenu_SetButtonWidth(width, frame) --> UIDropDownMenu_SetButtonWidth(frame, width)
* UIDropDownMenu_SetText(text, frame) --> UIDropDownMenu_SetText(frame, text)
* UIDropDownMenu_SetButtonText(level, id, text, r, g, b) --> UIDropDownMenu_SetButtonText(level, id, text, colorCode)
* FauxScrollFrame_OnVerticalScroll(width, function) --> FauxScrollFrame_OnVerticalScroll(self, offset, width, function)
* ScrollFrame_OnLoad() --> ScrollFrame_OnLoad(self)
* ScrollingEdit_OnCursorChanged(arg1,arg2,arg3,arg4) --> ScrollingEdit_OnCursorChanged(self,x, y, w, h)
* ScrollingEdit_OnTextChanged(scrollFrame) -- ScrollingEdit_OnTextChanged(self, scrollFrame)
* ScrollingEdit_OnUpdate(scrollFrame) --> ScrollingEdit_OnUpdate(self, elapsed, scrollFrame)
[Elapsed is not used inside of the function!? Blizzard itself calls this function with elapsed =0 ]
* ScrollFrame_OnScrollRangeChanged(scrollrange) --> ScrollFrame_OnScrollRangeChanged(self, scrollrange)
* ScrollFrameTemplate_OnMouseWheel(value, scrollBar) --> ScrollFrameTemplate_OnMouseWheel(self, value, scrollBar)
* ToggleDropDownMenu() --> ToggleDropDownMenu(level, value, dropDownFrame, anchorName, xOffset, yOffset, menuList, button)
* SetTextFontObject() --> changed to : SetNormalFontObject()
* PanelTemplates_TabResize(padding,tab) --> PanelTemplates_TabResize(tab,padding)
Some changes with fonts
Code:
(<NormalFont>,<PushedFont>,<DisabledFont>,<HighlightFont>):
* inherits= --> style=
(eg: <NormalFont inherits="GameFontHighlight"> --> <NormalFont style="GameFontHighlight">
* font= --> style=
(eg: <NormalFont font="FontName"> --> * <NormalFont style="FontName">
* <NormalFont inherits="GameFontNormalSmall" justifyH="LEFT"/>
changed to: <NormalFont style="GameFontNormalSmallLeft"/>
Seems like they merged both attributes into one, and changed the font name accordingly.
* <HighlightFont inherits="GameFontHighlightSmall" justifyH="LEFT"/>
changed to: <HighlightFont style="GameFontHighlightSmallLeft"/>
Same as above.
You can also still use the normal GameFontHighlightSmall, and specify JustifyH in the <ButtonText> definition.
From Interface\FrameXML\Constants.lua:
Code:
-- Power Types
SPELL_POWER_MANA = 0;
SPELL_POWER_RAGE = 1;
SPELL_POWER_FOCUS = 2;
SPELL_POWER_ENERGY = 3;
SPELL_POWER_HAPPINESS = 4;
SPELL_POWER_RUNES = 5;
SPELL_POWER_RUNIC_POWER = 6;
[UnitPowerType returns 6 for DK]
itemstring changes:
Code:
* item:itemId:enchantId:jewelId1:jewelId2:jewelId3:jewelId4:suffixId:uniqueId --> item:itemId:enchantId:jewelId1:jewelId2:jewelId3:jewelId4:suffixId:uniqueId:currentCharacteLevel
What is new here is the 'currentCharacteLevel'
cu
tay