showColormap

fnuint showColormap(uint oldcol)

Shows a color selection popup.

Displays a popup window allowing the user to select a color from the FLTK colormap. This function blocks until the user makes a selection.

Note

This function requires user interaction and should not be used

in automated tests.

Parameters

oldcolInitial color selection

Returns

Selected color value

Example:

uint selected = showColormap(Colors.RED);