SetSkin routine

TURBU

SetSkin routine

 

Changes the current system "skin" graphics set.

 

Syntax

 

procedure setSkin(const name: string);

 

Description

 

The setSkin routine loads a new system "skin" graphic set.  This graphic defines the look of various elements of the game, including menus, cursors and text boxes.

NOTE: setSkin will not run while a message box of any type is currently displayed.  For technical reasons, the routine has to unregister the various graphical elements that make up a message box, then register the new ones, and while this is done very quickly, it is not quick enough to prevent the graphics engine from crashing by trying to display an image that's not registered properly.  If setSkin is called while a message box is on-screen, it will wait and run once the box has closed.

This help file was created with the free trial version of HelpScribble.