#include <customgui_htmlviewer.h>
HTML viewer custom GUI ( CUSTOMGUI_HTMLVIEWER ). Can view both local and internet HTML files using the http protocol.
静态公共成员函数 |
|
| static String | FilenameToURL (const Filename &f, Int32 *encoding) |
私有成员函数 |
|
| HtmlViewerCustomGui () | |
| ~HtmlViewerCustomGui () | |
|
|
| void SetUrl | ( | const maxon::String & | url , |
| Int32 | encoding | ||
| ) |
Sets the HTML viewer URL.
| [in] | url | The new URL. |
| [in] | encoding | The URL encoding: URL_ENCODING |
| void SetText | ( | const maxon::String & | url | ) |
Sets the HTML viewer text.
| [in] | url | The new text. |
| void DoAction | ( | Int32 | action | ) |
Do an action in the HTML viewer.
| [in] | action | The action: WEBPAGE |
| void SetURLCallback | ( | HtmlViewerCustomGuiURLCallback * | callback , |
| void * | user_data | ||
| ) |
Registers the URL callback.
| [in] | callback | The callback, or nullptr to disable it. |
| [in] | user_data | The user data. The caller owns the pointed data. |
| String GetTextArea | ( | const maxon::String & | id | ) |
Deprecated . Always return an empty string.
|
static |
Converts a filename into an URL string.
| [in] | f | The filename. |
| [out] | encoding | Assigned the URL encoding: URL_ENCODING |