Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
565:355a6d46adb1 | 566:f6de197ecbe9 |
---|---|
2470 */ | 2470 */ |
2471 void API dw_color_background_set(unsigned long value) | 2471 void API dw_color_background_set(unsigned long value) |
2472 { | 2472 { |
2473 } | 2473 } |
2474 | 2474 |
2475 /* Allows the user to choose a color using the system's color chooser dialog. | |
2476 * Parameters: | |
2477 * value: current color | |
2478 * Returns: | |
2479 * The selected color or the current color if cancelled. | |
2480 */ | |
2481 unsigned long API dw_color_choose(unsigned long value) | |
2482 { | |
2483 dw_messagebox("Not implemented", DW_MB_OK|DW_MB_INFORMATION, "This feature not yet supported."); | |
2484 return value; | |
2485 } | |
2486 | |
2475 /* Draw a point on a window (preferably a render window). | 2487 /* Draw a point on a window (preferably a render window). |
2476 * Parameters: | 2488 * Parameters: |
2477 * handle: Handle to the window. | 2489 * handle: Handle to the window. |
2478 * pixmap: Handle to the pixmap. (choose only one of these) | 2490 * pixmap: Handle to the pixmap. (choose only one of these) |
2479 * x: X coordinate. | 2491 * x: X coordinate. |