Mercurial > wow > emfor1
diff CensusPlayerList.xml @ 6:10c85be19b56
rebase on CensusPlus-40000-4.3.2.zip;
added worgen
added 81 - 85
| author | EmFor |
|---|---|
| date | Fri, 10 Dec 2010 15:47:23 +0100 |
| parents | edfa01041183 |
| children |
line wrap: on
line diff
--- a/CensusPlayerList.xml Tue Mar 30 15:39:26 2010 +0000 +++ b/CensusPlayerList.xml Fri Dec 10 15:47:23 2010 +0100 @@ -70,7 +70,7 @@ </HighlightTexture> <Scripts> <OnLoad> - this:RegisterForClicks( "RightButtonUp"); + self:RegisterForClicks( "RightButtonUp"); </OnLoad> <OnClick> CensusPlus_PlayerButton_OnClick(); @@ -354,21 +354,16 @@ CensusPlus_PlayerListOnShow(); </OnShow> <OnMouseUp> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnMouseUp> - <OnMouseDown> - if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then - this:StartMoving(); - this.isMoving = true; - end - </OnMouseDown> + <OnMouseDown function="CensusPlus_List_OnMouseDown" /> <OnHide> - if ( this.isMoving ) then - this:StopMovingOrSizing(); - this.isMoving = false; + if ( self.isMoving ) then + self:StopMovingOrSizing(); + self.isMoving = false; end </OnHide> </Scripts>
