Lines Matching defs:winList
57 static MVWinVisInfoList winList; /* Here we'll grow a list of windows
150 /* Clean winList */
151 if (winList.wins) {
153 i = winList.used;
155 if (winList.wins[i].region)
156 XDestroyRegion(winList.wins[i].region);
159 free(winList.wins);
160 winList.wins = NULL;
161 winList.used = winList.allocated = 0;
177 * Create a list of such windows in global winList.
178 * Assumes winList was cleared beforehand.
226 if (winList.used >= winList.allocated) { /* expand or create the array */
227 winList.allocated = (winList.allocated?winList.allocated*MV_WIN_TUNE2:
229 winList.wins = (MVWinVisInfo *)(winList.wins ?
230 realloc(winList.wins,winList.allocated*sizeof(MVWinVisInfo)):
231 malloc(winList.allocated*sizeof(MVWinVisInfo)));
234 pWinInfo = &(winList.wins[winList.used++]);
253 winList.used--;
339 * Returns non-zero if the winList created by mvWalkTree
347 int i = winList.used;
350 if(winList.wins[i].depth != winList.wins[0].depth)
352 if (winList.wins[i].visinfo != winList.wins[0].visinfo)
354 if (winList.wins[i].colmap != winList.wins[0].colmap)
370 * Assumes that winList has been filled beforehand, and Img was cleared.
382 for (i=winList.used-1; ((nPixelsUnLabeled > 0) && i >= 0); i--) {
383 pWI = &(winList.wins[i]);