Lines Matching refs:prevPtr
27 * in progress. Only the "prevPtr" field should be accessed by anyone
35 Tk_Item *prevPtr; /* Item just before last one found (or NULL
217 char *tag, Tk_Item *prevPtr));
764 if (search.prevPtr == NULL) {
770 search.prevPtr->nextPtr = itemPtr->nextPtr;
773 canvasPtr->lastItemPtr = search.prevPtr;
1016 Tk_Item *prevPtr;
1031 prevPtr = NULL;
1033 prevPtr = StartTagSearch(canvasPtr, argv[3], &search);
1034 if (prevPtr != NULL) {
1035 prevPtr = search.prevPtr;
1042 RelinkItems(canvasPtr, argv[2], prevPtr);
1070 Tk_Item *prevPtr;
1085 prevPtr = canvasPtr->lastItemPtr;
1087 prevPtr = NULL;
1090 prevPtr = itemPtr;
1092 if (prevPtr == NULL) {
1098 RelinkItems(canvasPtr, argv[2], prevPtr);
1990 Tk_ItemType *typePtr2, *prevPtr;
2000 for (typePtr2 = typeList, prevPtr = NULL; typePtr2 != NULL;
2001 prevPtr = typePtr2, typePtr2 = typePtr2->nextPtr) {
2003 if (prevPtr == NULL) {
2006 prevPtr->nextPtr = typePtr2->nextPtr;
2117 Tk_Item *itemPtr, *prevPtr;
2143 prevPtr = canvasPtr->hotPrevPtr;
2144 if ((itemPtr == NULL) || (itemPtr->id != id) || (prevPtr == NULL)
2145 || (prevPtr->nextPtr != itemPtr)) {
2147 for (prevPtr = NULL, itemPtr = canvasPtr->firstItemPtr;
2149 prevPtr = itemPtr, itemPtr = itemPtr->nextPtr) {
2155 searchPtr->prevPtr = prevPtr;
2158 canvasPtr->hotPrevPtr = prevPtr;
2171 searchPtr->prevPtr = NULL;
2180 for (prevPtr = NULL, itemPtr = canvasPtr->firstItemPtr; itemPtr != NULL;
2181 prevPtr = itemPtr, itemPtr = itemPtr->nextPtr) {
2185 searchPtr->prevPtr = prevPtr;
2191 searchPtr->prevPtr = prevPtr;
2223 Tk_Item *itemPtr, *prevPtr;
2233 prevPtr = searchPtr->prevPtr;
2234 if (prevPtr == NULL) {
2237 itemPtr = prevPtr->nextPtr;
2247 * In this case, don't advance prevPtr; just return
2251 prevPtr = itemPtr;
2252 itemPtr = prevPtr->nextPtr;
2261 searchPtr->prevPtr = prevPtr;
2270 for ( ; itemPtr != NULL; prevPtr = itemPtr, itemPtr = itemPtr->nextPtr) {
2274 searchPtr->prevPtr = prevPtr;
2280 searchPtr->prevPtr = prevPtr;
2457 if (search.prevPtr != NULL) {
2458 DoItem(interp, search.prevPtr, uid);
2699 * after prevPtr. The order of the moved items relative
2706 RelinkItems(canvasPtr, tag, prevPtr)
2710 Tk_Item *prevPtr; /* Reposition the items so that they
2727 if (itemPtr == prevPtr) {
2733 prevPtr = search.prevPtr;
2735 if (search.prevPtr == NULL) {
2738 search.prevPtr->nextPtr = itemPtr->nextPtr;
2741 canvasPtr->lastItemPtr = search.prevPtr;
2762 if (prevPtr == NULL) {
2766 lastMovePtr->nextPtr = prevPtr->nextPtr;
2767 prevPtr->nextPtr = firstMovePtr;
2769 if (canvasPtr->lastItemPtr == prevPtr) {