unlock colorMap

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
unlock colorMap
Summary

Sets the lockColorMap property to false, causing the screen to be redrawn with the new color table every time the color table is changed.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
unlock colorMap
if the screenDepth <= 4 then unlock colorMap
RelatedProperty: lockColorMap
Command: unlock screen, unlock cursor, lock colorMap
Function: screenDepth, screenColors
Glossary: property, redraw, command, color table
Object: image
Description

Use the unlock colorMap command to allow the color table to change to accommodate newly displayed images and movies.

The unlock colorMap command sets the lockColorMap property to false.

When all pending handlers are finished executing, the lockColorMap property is set to false automatically.

Tagsui