Mercurial > dwindows
comparison dw.hpp @ 2932:3f660f47a45f
C++: Add HTML and ScrollBox pages to dwtestoo.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 30 Dec 2022 22:53:19 +0000 |
parents | 30c1f37713b6 |
children | 3cdb02171b01 |
comparison
equal
deleted
inserted
replaced
2931:30c1f37713b6 | 2932:3f660f47a45f |
---|---|
1028 HTML() { SetHWND(dw_html_new(0)); Setup(); } | 1028 HTML() { SetHWND(dw_html_new(0)); Setup(); } |
1029 | 1029 |
1030 // User functions | 1030 // User functions |
1031 void Action(int action) { dw_html_action(hwnd, action); } | 1031 void Action(int action) { dw_html_action(hwnd, action); } |
1032 int JavascriptRun(const char *script, void *scriptdata) { return dw_html_javascript_run(hwnd, script, scriptdata); } | 1032 int JavascriptRun(const char *script, void *scriptdata) { return dw_html_javascript_run(hwnd, script, scriptdata); } |
1033 int JavascriptRun(const char *script) { return dw_html_javascript_run(hwnd, script, NULL); } | |
1033 int Raw(const char *buffer) { return dw_html_raw(hwnd, buffer); } | 1034 int Raw(const char *buffer) { return dw_html_raw(hwnd, buffer); } |
1034 int URL(const char *url) { return dw_html_url(hwnd, url); } | 1035 int URL(const char *url) { return dw_html_url(hwnd, url); } |
1035 #ifdef DW_LAMBDA | 1036 #ifdef DW_LAMBDA |
1036 void ConnectChanged(std::function<int(int, char *)> userfunc) | 1037 void ConnectChanged(std::function<int(int, char *)> userfunc) |
1037 { | 1038 { |