View Single Post
10-22-07, 04:20 PM   #1
Dreadlorde
A Pyroguard Emberseer
 
Dreadlorde's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2,302
Adding Garbage Collection To Titan Performance.

Performance.lua and add these lines tot he very end:
Code:
function TitanPanelPerformanceButton_OnClick()
collectgarbage('collect')
end
Next, open TitanPerformance.xml, and where the </onload> tag is, add under it:
Code:
<OnClick>
TitanPanelPerformanceButton_OnClick();
</OnClick>
Now whenever you left click on the performace Buttom/text, you will force a garbage collection.

Cheers.

Thanks to taffu and Cladhaire who gave me a indirect general idea on how to do this. Also Tristanian @ WoWUI.IncGamers for the xml
__________________

Funtoo - Plan 9 - Windows 7

Last edited by Dreadlorde : 10-23-07 at 06:17 PM. Reason: doesn't work
  Reply With Quote