Mercurial > wow > cyborg-mmo7
comparison OptionPage.xml @ 15:80192bc4a108
Replaced the global msg function with CyborgMMO_DPrint:
- avoids conflicts with other addons ('msg' is too generic)
- has 'print' semantics (several values accepted, calls tostring)
- use AddMessage with a colored prefix, instead of plain SendChatMessage
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Thu, 25 Apr 2013 01:29:55 +0000 |
parents | 6cb9a2936580 |
children | 92b62e33887b |
comparison
equal
deleted
inserted
replaced
14:9f2d838d4f8e | 15:80192bc4a108 |
---|---|
572 </Frames> | 572 </Frames> |
573 | 573 |
574 <Scripts> | 574 <Scripts> |
575 <OnLoad> | 575 <OnLoad> |
576 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title")) | 576 CyborgMMO_LoadStrings(getglobal(self:GetName().."Title")) |
577 msg("Loaded Option Page") | 577 CyborgMMO_DPrint("Loaded Option Page") |
578 self = CyborgMMO_OptionView.new(self) | 578 self = CyborgMMO_OptionView.new(self) |
579 </OnLoad> | 579 </OnLoad> |
580 </Scripts> | 580 </Scripts> |
581 </Frame> | 581 </Frame> |
582 | 582 |