Mercurial > dwindows
diff mac/dw.c @ 566:f6de197ecbe9
Add dw_color_choose()
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 17 Jun 2004 11:22:14 +0000 |
parents | 355a6d46adb1 |
children | c5e5671dec8f |
line wrap: on
line diff
--- a/mac/dw.c Sat May 08 06:53:12 2004 +0000 +++ b/mac/dw.c Thu Jun 17 11:22:14 2004 +0000 @@ -2472,6 +2472,18 @@ { } +/* Allows the user to choose a color using the system's color chooser dialog. + * Parameters: + * value: current color + * Returns: + * The selected color or the current color if cancelled. + */ +unsigned long API dw_color_choose(unsigned long value) +{ + dw_messagebox("Not implemented", DW_MB_OK|DW_MB_INFORMATION, "This feature not yet supported."); + return value; +} + /* Draw a point on a window (preferably a render window). * Parameters: * handle: Handle to the window.