Home
last modified time | relevance | path

Searched refs:GROMIT_MAX_UNDO (Results 1 – 2 of 2) sorted by relevance

/dports/x11/gromit-mpx/gromit-mpx-1.4.2/src/
H A Dgromit-mpx.c483 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()
H A Dgromit-mpx.h59 #define GROMIT_MAX_UNDO 4 macro
147 cairo_surface_t *undobuffer[GROMIT_MAX_UNDO];