Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

redisplay-event

Arguments: drawable stream

Called whenever a drawable control needs to be redrawn, such as when it is uncovered. drawable is the drawable control itself. stream is the stream on which to draw.

If the use-bitmap-stream property of the control is true, then stream will be the bitmap-stream of the control; otherwise stream will be the visible window of the control.

If use-bitmap-stream is true, then redisplay-event will be called only when the application explicitly calls update-drawable on the drawable; otherwise whatever is currently drawn on the bitmap-stream is used to refresh the visible window as needed.

The default redisplay-event method essentially just calls the on-redisplay handler of the drawable if it has one. The on-redisplay handler is the more typical place to place custom drawing code.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version