SO3Engine
|
SO3WidgetManager.h
Go to the documentation of this file.
145 SWidget* CreateWidget(SScene* targetScene, const std::string& widgetName, const int& xPos, const int& yPos, const unsigned short& width, const unsigned short& height, SViewPort* targetViewport, const unsigned int& widgetZOrder, const std::string& widgetType);
150 SWidget* CreateWidget(SScene* targetScene, const std::string& widgetName, const int& xPos, const int& yPos, const unsigned short& width, const unsigned short& height, SViewPort* targetViewport, const std::string& widgetType);
155 SWidget* CreateWidget(SScene* targetScene, const std::string& widgetName, const unsigned short& width, const unsigned short& height, SMaterial* targetMaterial, const unsigned short& targetTechnique, const unsigned short& targetPass, const unsigned short& targetTextureUnit, const std::string& widgetType);
186 void InjectMouseMove(SWindow* originWindow, const int& xPos, const int& yPos, const MouseButtonId& button);
195 void InjectMouseWheel(SWindow* originWindow, const int& scrollX, const int& scrollY, const int& relativeScroll);
204 void InjectMouseDown(SWindow* originWindow, const int& xPos, const int& yPos, const MouseButtonId& button);
206 void InjectTouchAdd(SWindow* originWindow, const int& xPos, const int& yPos, const int& touchid);
210 void InjectTouchUpdate(SWindow* originWindow, const int& xPos, const int& yPos, const int& vx, const int& vy, const int& touchid);
219 void InjectMouseUp(SWindow* originWindow, const int& xPos, const int& yPos, const MouseButtonId& button);
221 void InjectMouseMove(SWidget* widget, const SRaycastResult& raycast, const MouseButtonId& button, const int& id = 0);
223 void InjectMouseDown(SWidget* widget, const SRaycastResult& raycast, const MouseButtonId& button, const int& id = 0);
225 void InjectMouseUp(const SRaycastResult& raycast, const MouseButtonId& button, const int& id = 0);
227 void InjectMouseWheel(SWidget* widget, const SRaycastResult& raycast, const int& relativeScroll, const int& id = 0);
237 void InjectKeyEvent(const UINT& msg, const ScolWindowHandle& hwnd, const WPARAM& wParam, const LPARAM& lParam);
273 void _FireOnLoadError(SWidget* targetedWidget, const int& errorCode, const std::string& failedUrl);
278 SWidget* GetWidgetUnder(SWindow* originWindow, const int& posX, const int& posY, const int& id = 0);
294 void _FireMouseMoveWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const MouseButtonId& mouseButton, const int& id = 0);
298 void _FireMouseDownWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const MouseButtonId& mouseButton, const int& id = 0);
302 void _FireMouseUpWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const MouseButtonId& mouseButton, const int& id = 0);
306 void _FireMouseWheelWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const int& relativeScroll, const int& id = 0);
310 void _FireTouchAddWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const int& touchid);
314 void _FireTouchRemoveWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const int& touchid);
318 void _FireTouchUpdateWidgetEvent(SWidget* targetedWidget, const int& mousePosX, const int& mousePosY, const int& vx, const int& vy, const int& touchid);
322 void _FireKeyWidgetEvent(SWidget* targetedWidget, const UINT& msg, const ScolWindowHandle& hwnd, const UINT& wParam, const LONG& lParam);
librairies include
Definition SO3WidgetManager.h:43
INPUTInfo(int cindex, int cx, int cy, SWidget *wg)
Definition SO3WidgetManager.h:66
Definition SO3Material.h:43
Definition SO3RayCast.h:41
Definition SO3Scene.h:125
Definition SO3ScriptFunction.h:33
Definition SO3ViewPort.h:56
Definition SO3WidgetFactory.h:44
Definition SO3Widget.h:51
Definition SO3WidgetListener.h:44
Definition SO3WidgetManager.h:98
std::map< std::string, SWidget * > WidgetList
Definition SO3WidgetManager.h:100
Definition SO3Window.h:45
Definition SO3DataScol.h:38
Generated by 1.9.8