SO3Engine
|
SO3Widget.h
Go to the documentation of this file.
131 SWidget(SScene* targetScene, const std::string& widgetName, const int& xPos, const int& yPos, const unsigned short& widgetWidth, const unsigned short& widgetHeight, SViewPort* targetViewport, const unsigned int& widgetZOrder, const std::string& widgetType);
136 SWidget(SScene* targetScene, const std::string& widgetName, const int& xPos, const int& yPos, const unsigned short& widgetWidth, const unsigned short& widgetHeight, SViewPort* targetViewport, const std::string& widgetType);
141 SWidget(SScene* targetScene, const std::string& widgetName, const unsigned short& widgetWidth, const unsigned short& widgetHeight, SMaterial* targetMaterial, const unsigned short& targetTechnique, const unsigned short& targetPass, const unsigned short& targetTextureUnit, const std::string& widgetType);
263 virtual void InjectMouseWheel(const int& scrollX, const int& scrollY, const int& relativeScroll)=0;
303 virtual void InjectTouchUpdate(const int& xPos, const int& yPos, const int& vx, const int& vy, const int& touchid) = 0;
307 virtual void InjectKeyEvent(const UINT& msg, const ScolWindowHandle& hwnd, const WPARAM& wParam, const LPARAM& lParam) = 0;
357 void SetIgnoreTransparentPixels(const bool& widgetIgnoreTransparentPixels, const float& tresholdColor=0.0f);
460 virtual void RunScriptFunction(const std::string& functionName, const std::vector<std::string>& argumentList)=0;
538 void StandardConstructor(SScene* targetScene, const int& xPos, const int& yPos, const unsigned short& widgetWidth, const unsigned short& widgetHeight, const unsigned int& widgetZOrder, SViewPort* targetViewport, const std::string& widgetType);
librairies include
Definition SO3DataScol.h:41
Definition SO3Material.h:43
Definition SO3Point.h:37
Definition SO3Scene.h:125
Definition SO3ViewPort.h:56
Definition SO3Widget.h:62
Ogre::SceneBlendFactor oSceneBlendingD
Definition SO3Widget.h:68
Ogre::SceneBlendFactor oSceneBlendingS
Definition SO3Widget.h:67
Definition SO3Widget.h:51
virtual void LoadFile(const std::string &file)=0
virtual void InjectMouseDown(const int &xPos, const int &yPos, const MouseButtonId &button)=0
virtual void SetSizeImpl(const unsigned short &newWidth, const unsigned short &newHeight)=0
virtual void InjectMouseMove(const int &xPos, const int &yPos, const MouseButtonId &button)=0
virtual void InjectTouchAdd(const int &xPos, const int &yPos, const int &touchid)=0
virtual void SetFocusImpl(const bool &focusOnWidget)=0
virtual void SetMouseEnableImpl(const bool &enableMouseOnWidget)=0
virtual void SetTransparencyImpl(const bool &enableTransparency)=0
virtual void InjectTextEvent(const std::string &utf8)=0
virtual void InjectMouseWheel(const int &scrollX, const int &scrollY, const int &relativeScroll)=0
virtual void InjectMouseUp(const int &xPos, const int &yPos, const MouseButtonId &button)=0
bool compensateNPOT
Use to indicate if the texture size has be rounded to an exact pow2.
Definition SO3Widget.h:91
virtual bool CheckPixelAlpha(const int &posX, const int &posY)=0
virtual void LoadURL(const std::string &url)=0
virtual void InjectTouchRemove(const int &touchid)=0
virtual void InjectTouchUpdate(const int &xPos, const int &yPos, const int &vx, const int &vy, const int &touchid)=0
virtual void SetKeyboardEnableImpl(const bool &enableKeyboardOnWidget)=0
virtual void RunScriptFunction(const std::string &functionName, const std::vector< std::string > &argumentList)=0
virtual void InjectKeyEvent(const UINT &msg, const ScolWindowHandle &hwnd, const WPARAM &wParam, const LPARAM &lParam)=0
Definition SO3DataScol.h:38
Generated by 1.9.8