Searched refs:GROMIT_MAX_UNDO (Results 1 – 2 of 2) sorted by relevance
483 if(data->undo_head >= GROMIT_MAX_UNDO) in snap_undo_state()484 data->undo_head -= GROMIT_MAX_UNDO; in snap_undo_state()487 if(data->undo_depth > GROMIT_MAX_UNDO) in snap_undo_state()488 data->undo_depth = GROMIT_MAX_UNDO; in snap_undo_state()526 if(data->redo_depth > GROMIT_MAX_UNDO) in undo_drawing()527 data->redo_depth -= GROMIT_MAX_UNDO; in undo_drawing()530 data->undo_head += GROMIT_MAX_UNDO; in undo_drawing()555 if(data->undo_head >= GROMIT_MAX_UNDO) in redo_drawing()556 data->undo_head -= GROMIT_MAX_UNDO; in redo_drawing()777 for (i = 0; i < GROMIT_MAX_UNDO; i++) in setup_main_app()
59 #define GROMIT_MAX_UNDO 4 macro147 cairo_surface_t *undobuffer[GROMIT_MAX_UNDO];