# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1116786185 0 # Node ID b9d903cde2f4695b258c83079f4998a15a909e94 # Parent 4df2d1639005d00a273466b11c73a5faeded8a5c Added stubs for HTML renderer on Unix. diff -r 4df2d1639005 -r b9d903cde2f4 gtk/dw.c --- 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).