Mercurial > mm7
comparison GUIWindow.cpp @ 1037:ff2d888f8033
Merge
author | Gloval |
---|---|
date | Wed, 22 May 2013 22:26:31 +0400 |
parents | 306ec23b37df |
children | 39f42990698f |
comparison
equal
deleted
inserted
replaced
1036:7f8be9f9769e | 1037:ff2d888f8033 |
---|---|
97 if ( bFirstCall ) | 97 if ( bFirstCall ) |
98 { | 98 { |
99 for ( i = uNumVisibleWindows; i >= 0; --i ) | 99 for ( i = uNumVisibleWindows; i >= 0; --i ) |
100 { | 100 { |
101 result = 84 * pVisibleWindowsIdxs[i]; | 101 result = 84 * pVisibleWindowsIdxs[i]; |
102 //for ( j = *(GUIButton **)((char *)pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_ + result); j; j = j->pNext ) | |
103 for ( j = pWindowList[pVisibleWindowsIdxs[i] - 1].pControlsHead; j; j = j->pNext ) | 102 for ( j = pWindowList[pVisibleWindowsIdxs[i] - 1].pControlsHead; j; j = j->pNext ) |
104 j->field_28 = 0; | 103 j->field_28 = 0; |
105 } | 104 } |
106 } | 105 } |
107 for ( k = uNumVisibleWindows; k >= 0; --k ) | 106 for ( k = uNumVisibleWindows; k >= 0; --k ) |
108 { | 107 { |
109 result = 84 * pVisibleWindowsIdxs[k]; | 108 result = 84 * pVisibleWindowsIdxs[k]; |
110 //for ( l = *(GUIButton **)((char *)pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_ + result); l; l = l->pNext ) | |
111 for ( l = pWindowList[pVisibleWindowsIdxs[k] - 1].pControlsHead; l; l = l->pNext ) | 109 for ( l = pWindowList[pVisibleWindowsIdxs[k] - 1].pControlsHead; l; l = l->pNext ) |
112 { | 110 { |
113 LOBYTE(result) = v10; | 111 LOBYTE(result) = v10; |
114 if ( l->uHotkey == v10 ) | 112 if ( l->uHotkey == v10 ) |
115 { | 113 { |