vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 function HealBot_Errors_OnLoad(this)
2 -- do nothing
3 end
4  
5 function HealBot_Errors_OnShow(this)
6 local client = getglobal("HealBot_Error_Clientx")
7 client:SetText("Client="..GetLocale())
8 HealBot_Error_Versionx:SetText("Healbot verion="..HEALBOT_VERSION)
9 HealBot_Error_Classx:SetText("Player class="..HealBot_UnitClass("player"))
10 end
11  
12 function HealBot_Errors_OnHide(this)
13 local errtext;
14 HealBot_StopMoving(this);
15 for j=1,28 do
16 errtext = getglobal("HealBot_Error"..j);
17 errtext:SetText(" ")
18 end
19 HealBot_ErrorCnt=0;
20 end
21  
22 function HealBot_Errors_OnDragStart(this,arg1)
23 HealBot_StartMoving(this);
24 end
25  
26 function HealBot_Errors_OnDragStop(this)
27 HealBot_StopMoving(this);
28 end
29  
30 function HealBot_ErrorsIn(msg,id)
31 local errtext = getglobal("HealBot_Error"..id);
32 errtext:SetText(msg)
33 ShowUIPanel(HealBot_Error);
34 end