mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 11:10:36 +08:00
20 lines
553 B
C++
20 lines
553 B
C++
#ifndef slic3r_GUI_WebView_hpp_
|
|
#define slic3r_GUI_WebView_hpp_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
class wxWebView;
|
|
class wxWindow;
|
|
class wxString;
|
|
|
|
namespace WebView
|
|
{
|
|
// When using WebView in Panel, it is benfitable to call create only when it is being shown. (lower CPU usage)
|
|
// But when using WebView in Dialog, call both.
|
|
wxWebView* webview_new();
|
|
void webview_create(wxWebView* webview, wxWindow *parent, const wxString& url, const std::vector<std::string>& message_handlers);
|
|
};
|
|
|
|
#endif // !slic3r_GUI_WebView_hpp_
|