Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 29 of file history.c.
Referenced by endPaintingL(), startPaintingL(), startPaintingR(), whilePaintingL(), and WindowProcedure().
{ DeleteObject(hBms[(currInd + 1) % HISTORYSIZE]); hBms[(currInd + 1) % HISTORYSIZE] = CopyImage(hBms[currInd], IMAGE_BITMAP, 0, 0, LR_COPYRETURNORG); currInd = (currInd + 1) % HISTORYSIZE; if (undoSteps < HISTORYSIZE - 1) undoSteps++; redoSteps = 0; SelectObject(hDrawingDC, hBms[currInd]); imgXRes = GetDIBWidth(hBms[currInd]); imgYRes = GetDIBHeight(hBms[currInd]); imageSaved = FALSE; }