EV_restorePainting Function (ROM Call 0xCD)

events.h

short EV_restorePainting (short blockPaint);

Restores previous state of window painting.

EV_restorePainting suspends or enables window painting, depending on whether blockPaint is PAINTING_ENABLED or PAINTING_SUSPENDED (these constants are defined in enum PaintFlags). The main purpose of this function is to restore previous state after usage of EV_suspendPainting function. EV_restorePainting also returns previous state of painting enable flag (PAINTING_ENABLED or PAINTING_SUSPENDED) before calling this function.


Uses: EV_flags
Used by: ABT_dialog, EV_defaultHandler, Dialog, ERD_dialog, EV_quit