OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
WebViewRef Class Reference
Inheritance diagram for WebViewRef:
Collaboration diagram for WebViewRef:

Public Member Functions

 WebViewRef (wxWebView *webView)
 ~WebViewRef ()

Public Attributes

wxWebView * m_webView
bool m_script_handler_added = false

Detailed Description

Constructor & Destructor Documentation

◆ WebViewRef()

WebViewRef::WebViewRef ( wxWebView * webView)
inline
279: m_webView(webView) {}
wxWebView * m_webView
Definition WebView.cpp:286

References m_webView.

◆ ~WebViewRef()

WebViewRef::~WebViewRef ( )
inline
280 {
281 auto iter = std::find(g_webviews.begin(), g_webviews.end(), m_webView);
282 assert(iter != g_webviews.end());
283 if (iter != g_webviews.end())
284 g_webviews.erase(iter);
285 }
static std::vector< wxWebView * > g_webviews
Definition WebView.cpp:271

References g_webviews, and m_webView.

Member Data Documentation

◆ m_script_handler_added

bool WebViewRef::m_script_handler_added = false

Referenced by WebView::CreateWebView().

◆ m_webView

wxWebView* WebViewRef::m_webView

Referenced by WebViewRef(), and ~WebViewRef().


The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/WebView.cpp