diff os2/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 1b709b879181
children 81ca08481d49
line wrap: on
line diff
--- a/os2/dw.c	Sat May 08 06:53:12 2004 +0000
+++ b/os2/dw.c	Thu Jun 17 11:22:14 2004 +0000
@@ -7241,6 +7241,18 @@
 	_background = value;
 }
 
+/* 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;
+}
+
 HPS _set_hps(HPS hps)
 {
 	LONG alTable[2];
@@ -8693,7 +8705,7 @@
  * Returns:
  *       NULL on error. A malloced buffer containing
  *       the file path on success.
- *       
+ *
  */
 char * API dw_file_browse(char *title, char *defpath, char *ext, int flags)
 {