Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

This function creates a primitive modal widget consisting of a 50% gui-wide shading with a centered image in the foreground. More complex modal widgets can be created from any normal widgets by setting the widget 'modal parameter to #t.

Parameter Description
g GUI context handle
img Modal image to display centered in GUI
color Color of modal image

Example

(glgui-modal mygui modalimage.img White)
Clone this wiki locally