The OpenD Programming Language

arsd.minigui_addons.color_dialog

Displays a color-picker dialog box. On Windows, uses the standard system dialog you know from Paint. On X, uses a custom one with hsla and rgba support.

Members

Functions

showColorDialog
auto showColorDialog(Window owner, Color current, void delegate(Color choice) onOK, void delegate() onCancel)

Meta

History

Written April 2017.

Added to dub on December 9, 2021.