[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'video' (#rtl)

UnlockScreenUpdate

Unlock screen update.

Declaration

Source position: videoh.inc line 117

procedure UnlockScreenUpdate;

Description

UnlockScreenUpdate decrements the screen update lock count with one if it is larger than zero. When the lock count reaches zero, the UpdateScreen will actually update the screen. No screen update will be performed as long as the screen update lock count is nonzero. This mechanism can be used to increase screen performance in case a lot of writing is done.

It is important to make sure that each call to LockScreenUpdate is matched by exactly one call to UnlockScreenUpdate

For an example, see GetLockScreenCount.

Errors

None.

See also

LockScreenUpdate

  

Prevent further screen updates.

GetLockScreenCount

  

Get the screen lock update count.

UpdateScreen

  

Update physical screen with internal screen image.


Documentation generated on: May 14 2021