Mercurial > wow > emfor1
comparison CensusButton.lua @ 11:663f782bd903
rebase on CensusPlus-40000-5.0.2.zip ; toc update
| author | EmFor |
|---|---|
| date | Sun, 14 Aug 2011 12:10:07 +0200 |
| parents | 10c85be19b56 |
| children |
comparison
equal
deleted
inserted
replaced
| 9:95760e155db2 | 11:663f782bd903 |
|---|---|
| 111 | 111 |
| 112 | 112 |
| 113 function CensusPlus_CloseDropDown() | 113 function CensusPlus_CloseDropDown() |
| 114 CloseDropDownMenus(); | 114 CloseDropDownMenus(); |
| 115 end | 115 end |
| 116 | |
| 117 function CensusPlus_Button_OnMouseDown( self, arg1 ) | 116 function CensusPlus_Button_OnMouseDown( self, arg1 ) |
| 118 if ( ( ( not CensusButtonFrame.isLocked ) or ( CensusButtonFrame.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then | 117 if ( ( ( not CensusButtonFrame.isLocked ) or ( CensusButtonFrame.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then |
| 119 CensusButtonFrame:StartMoving(); | 118 CensusButtonFrame:StartMoving(); |
| 120 CensusButtonFrame.isMoving = true; | 119 CensusButtonFrame.isMoving = true; |
| 121 end | 120 end |
| 122 end | 121 end |
| 123 | |
| 124 function CensusPlus_Button_OnClick( self, arg1, arg2 ) | 122 function CensusPlus_Button_OnClick( self, arg1, arg2 ) |
| 125 if( not CensusButtonFrame.isMoving ) then | 123 if( not CensusButtonFrame.isMoving ) then |
| 126 CensusPlusButton_OnClick(arg1, arg2); | 124 CensusPlusButton_OnClick(arg1, arg2); |
| 127 PlaySound("igMainMenuOptionCheckBoxOn"); | 125 PlaySound("igMainMenuOptionCheckBoxOn"); |
| 128 end | 126 end |
