Thread Tools Display Modes
08-11-08, 01:59 AM   #1
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 13
Code changes in WotLK

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
  Reply With Quote
08-12-08, 05:47 AM   #2
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 13
Another change:
SendMailFrame_SendeeAutocomplete is gone from FrameXML/MailFrame.lua

cu
tay
  Reply With Quote
08-12-08, 07:12 AM   #3
Mera
Retired of WoW, In ESO :)
 
Mera's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 331
I use a nice site for that, you may like it

wowcompares.com very good to check diff
__________________
If you need to reach me I'm in ESO, @class101 or "Fathis Ules i"
addons: SpamBayes, BrokerCPU
projects: ThunderBayes
Mera[xeh]? - La CroisadeEcarlate (wow)
  Reply With Quote
08-12-08, 10:07 AM   #4
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 13
Yes, I work a lot with wowcompare
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Code changes in WotLK


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