comparison IO/Mouse.cpp @ 2567:d569340b05ff

Few constants changed into enum values
author a.parshin
date Thu, 21 May 2015 01:50:59 +0200
parents 87e5590d034b
children dd36326a9994
comparison
equal deleted inserted replaced
2566:30eb6dcac768 2567:d569340b05ff
770 pMouse->GetClickPos(&uClickX, &uClickY); 770 pMouse->GetClickPos(&uClickX, &uClickY);
771 v29 = pWindowList[v3]->pStartingPosActiveItem + pWindowList[v3]->pNumPresenceButton; //num buttons more than buttons 771 v29 = pWindowList[v3]->pStartingPosActiveItem + pWindowList[v3]->pNumPresenceButton; //num buttons more than buttons
772 for ( v4 = pWindowList[v3]->pStartingPosActiveItem; v4 < v29; ++v4 ) 772 for ( v4 = pWindowList[v3]->pStartingPosActiveItem; v4 < v29; ++v4 )
773 { 773 {
774 pButton = pWindowList[v3]->pControlsHead; 774 pButton = pWindowList[v3]->pControlsHead;
775 if (!pButton)
776 continue;
775 if ( v4 > 0 ) 777 if ( v4 > 0 )
776 { 778 {
777 for ( v15 = v4; v15; --v15 ) 779 for ( v15 = v4; v15; --v15 )
778 pButton = pButton->pNext; 780 pButton = pButton->pNext;
779 } 781 }