SO3Engine
|
SO3WebNavigatorWidget.cpp
Go to the documentation of this file.
38SO3WebNavigatorWidgetListener::SO3WebNavigatorWidgetListener(SWebNavigatorWidget* targetWidgetInstance)
43void SO3WebNavigatorWidgetListener::OnExternalCall(SO3::EmbeddedWebNavigator::WebNavigator* sourceWebNavigator, const SScriptFunction& functionCalled)
49void SO3WebNavigatorWidgetListener::OnExternalCallStr(SO3::EmbeddedWebNavigator::WebNavigator* sourceWebNavigator, const SScriptFunction& functionCalled)
55void SO3WebNavigatorWidgetListener::OnLoadStart(SO3::EmbeddedWebNavigator::WebNavigator* sourceWebNavigator, const std::string& frameName)
60void SO3WebNavigatorWidgetListener::OnLoadEnd(SO3::EmbeddedWebNavigator::WebNavigator* sourceWebNavigator, const std::string& frameName, int httpStatusCode)
65void SO3WebNavigatorWidgetListener::OnLoadError(SO3::EmbeddedWebNavigator::WebNavigator* sourceWebNavigator, const std::string& frameName, int errorCode, const std::string& failedUrl, std::string& errorText)
70void SO3WebNavigatorWidgetListener::OnCursorChange(SO3::EmbeddedWebNavigator::WebNavigator* sourceWebNavigator, HCURSOR newCursor)
75SWebNavigatorWidget::SWebNavigatorWidget(SScene* targetScene, const std::string& webNavigatorName, const int& xPos, const int& yPos, const unsigned short& widgetWidth, const unsigned short& widgetHeight, SViewPort* targetViewport, const unsigned int& widgetZOrder) : SWidget(targetScene, webNavigatorName, xPos, yPos, widgetWidth, widgetHeight, targetViewport, widgetZOrder, SO3_WEB_NAVIGATOR_WIDGET_TYPE)
80SWebNavigatorWidget::SWebNavigatorWidget(SScene* targetScene, const std::string& webNavigatorName, const int& xPos, const int& yPos, const unsigned short& widgetWidth, const unsigned short& widgetHeight, SViewPort* targetViewport) : SWidget(targetScene, webNavigatorName, xPos, yPos, widgetWidth, widgetHeight, targetViewport, SO3_WEB_NAVIGATOR_WIDGET_TYPE)
85SWebNavigatorWidget::SWebNavigatorWidget(SScene* targetScene, const std::string& webNavigatorName, const unsigned short& widgetWidth, const unsigned short& widgetHeight, SMaterial* targetMaterial, const unsigned short& targetTechnique, const unsigned short& targetPass, const unsigned short& targetTextureUnit) : SWidget(targetScene, webNavigatorName, widgetWidth, widgetHeight, targetMaterial, targetTechnique, targetPass, targetTextureUnit, SO3_WEB_NAVIGATOR_WIDGET_TYPE)
113 parentWindow = CreateWindow("ScolClass", GetName().c_str(), WS_CHILD, CW_USEDEFAULT, CW_USEDEFAULT, 1, 1, parent, 0, (HINSTANCE)SCgetExtra("this_inst"), 0);
115 embeddedWebNavigator = EmbeddedWebNavigator::WebNavigatorManager::GetSingleton().CreateNavigator(const_cast<ScolWindowHandle&>(parentWindow), width, height, "google.com", GetTransparency());
131 EmbeddedWebNavigator::WebNavigatorManager::GetSingleton().DestroyNavigator(embeddedWebNavigator);
160void SWebNavigatorWidget::InjectMouseMove(const int& xPos, const int& yPos, const MouseButtonId& button)
166void SWebNavigatorWidget::InjectMouseWheel(const int& scrollX, const int& scrollY, const int& relativeScroll)
172void SWebNavigatorWidget::InjectMouseDown(const int& xPos, const int& yPos, const MouseButtonId& button)
178void SWebNavigatorWidget::InjectMouseUp(const int& xPos, const int& yPos, const MouseButtonId& button)
194void SWebNavigatorWidget::InjectTouchUpdate(const int& xPos, const int& yPos, const int& vx, const int& vy, const int& touchid)
199void SWebNavigatorWidget::InjectKeyEvent(const UINT& msg, const ScolWindowHandle& hwnd, const WPARAM& wParam, const LPARAM& lParam)
233void SWebNavigatorWidget::SetSizeImpl(const unsigned short& newWidth, const unsigned short& newHeight)
258 embeddedWebNavigator->GetWebNavigatorClient()->BlitOffscreenTexture(renderingTexture, forceRenderingUpdate || forceUpdate);
264void SWebNavigatorWidget::RunScriptFunction(const std::string& functionName, const std::vector<std::string>& argumentList)
288 return embeddedWebNavigator->GetWebNavigatorClient()->CheckPixelAlpha(posX, posY, transparentTresholdColor);
339void SWebNavigatorWidget::Find(const int& identifier, const std::string& searchText, const bool& forward, const bool& matchCase, const bool& findNext)
Definition SO3Material.h:43
Definition SO3Scene.h:125
Definition SO3ScriptFunction.h:33
Definition SO3ViewPort.h:56
Definition SO3Widget.h:51
void _FireOnLoadStart(SWidget *targetedWidget)
Definition SO3WidgetManager.cpp:1023
void _FireScriptWidgetEvent(SWidget *targetedWidget, const SScriptFunction &functionCalled)
Definition SO3WidgetManager.cpp:1013
void _FireOnLoadError(SWidget *targetedWidget, const int &errorCode, const std::string &failedUrl)
Definition SO3WidgetManager.cpp:1043
void _FireOnLoadEnd(SWidget *targetedWidget)
Definition SO3WidgetManager.cpp:1033
static SWidgetManager & getSingleton()
Definition SO3WidgetManager.cpp:53
Definition SO3Window.h:45
Definition SO3DataScol.h:38
Generated by 1.9.8