Next Previous Up Top Contents Index

5.3 DUIM-Sheets Module

handle-repaint

Generic function

Summary

Implements region repainting for a given sheet class.

Signature

handle-repaint sheet medium region => ()

Arguments

sheet
An instance of type <sheet>.

medium
An instance of type <medium>.

region
An instance of type <region>.

Values

None

Library

duim-sheets

Module

duim-sheets

Description

Implements region repainting for a given sheet class. Methods on this generic are called by DUIM in an application thread in order to handle repainting a given part of the screen. By calling available methods, it repaints the region of the sheet on medium.

DUIM itself implements no semantically meaningful handle-repaint methods; It is the responsibility of any application to implement all of its own handle-repaint methods. It is also the responsibility of the application to decide the protocol and relationship between all of these methods.

Take care when adding next-method() calls in any handle-repaint methods that you write. Because DUIM itself supplies no built-in methods, you must ensure that you have supplied a valid method yourself. For each sheet class you are handling, you should decide whether a call to next-method is actually required.

The sheet on medium is repainted and region is the region to repaint.

See also

<drawing-pane>, page 464

pane-display-function, page 476

queue-repaint, page 336

repaint-sheet, page 337

<simple-pane>, page 483

<window-repaint-event>, page 374


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index