changeset 586:b9d903cde2f4

Added stubs for HTML renderer on Unix.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 22 May 2005 18:23:05 +0000
parents 4df2d1639005
children 9e81f23b57ae
files gtk/dw.c
diffstat 1 files changed, 49 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/dw.c	Sun May 22 18:21:07 2005 +0000
+++ b/gtk/dw.c	Sun May 22 18:23:05 2005 +0000
@@ -9842,6 +9842,55 @@
 }
 
 /*
+ * Causes the embedded HTML widget to take action.
+ * Parameters:
+ *       handle: Handle to the window.
+ *       action: One of the DW_HTML_* constants.
+ */
+void dw_html_action(HWND handle, int action)
+{
+}
+
+/*
+ * Render raw HTML code in the embedded HTML widget..
+ * Parameters:
+ *       handle: Handle to the window.
+ *       string: String buffer containt HTML code to
+ *               be rendered.
+ * Returns:
+ *       0 on success.
+ */
+int dw_html_raw(HWND handle, char *string)
+{
+	return -1;
+}
+
+/*
+ * Render file or web page in the embedded HTML widget..
+ * Parameters:
+ *       handle: Handle to the window.
+ *       url: Universal Resource Locator of the web or
+ *               file object to be rendered.
+ * Returns:
+ *       0 on success.
+ */
+int dw_html_url(HWND handle, char *url)
+{
+	return -1;
+}
+
+/*
+ * Create a new Entryfield window (widget) to be packed.
+ * Parameters:
+ *       text: The default text to be in the entryfield widget.
+ *       id: An ID to be used with dw_window_from_id() or 0L.
+ */
+HWND dw_html_new(unsigned long id)
+{
+    return dw_box_new(DW_HORZ, 0);
+}
+
+/*
  * Returns a pointer to a static buffer which containes the
  * current user directory.  Or the root directory (C:\ on
  * OS/2 and Windows).