Mercurial > dwindows
diff dw.h @ 584:420c6c94abc7
Added dw_html_* functionality for embedding HTML pages in Dynamic Windows
applications.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 22 May 2005 18:07:23 +0000 |
parents | 828e6a66c5c5 |
children | a8ea3d68b9ec |
line wrap: on
line diff
--- a/dw.h Fri May 20 11:28:16 2005 +0000 +++ b/dw.h Sun May 22 18:07:23 2005 +0000 @@ -447,6 +447,7 @@ #define ClassName "dynamicwindows" #define SplitbarClassName "dwsplitbar" #define ObjectClassName "dwobjectclass" +#define BrowserClassName "dwbrowserclass" #define DefaultFont NULL typedef struct _color { @@ -882,6 +883,14 @@ #define DW_ERROR_NO_MEM 4 #define DW_ERROR_INTERRUPT 5 +/* Embedded HTML actions */ +#define DW_HTML_GOBACK 0 +#define DW_HTML_GOFORWARD 1 +#define DW_HTML_GOHOME 2 +#define DW_HTML_SEARCH 3 +#define DW_HTML_RELOAD 4 +#define DW_HTML_STOP 5 + #ifndef API #define API #endif @@ -1121,5 +1130,9 @@ HSHM API dw_named_memory_new(void **dest, int size, char *name); HSHM API dw_named_memory_get(void **dest, int size, char *name); int API dw_named_memory_free(HSHM handle, void *ptr); +void API dw_html_action(HWND hwnd, int action); +int API dw_html_raw(HWND hwnd, char *string); +int API dw_html_url(HWND hwnd, char *url); +HWND API dw_html_new(unsigned long id); #endif