1 #ifndef __CARSA_DPAD_H__ 2 #define __CARSA_DPAD_H__ 19 #define DPAD_MODE_STATIC 0 20 #define DPAD_MODE_DYNAMIC 1 88 #endif // __CARSA_DPAD_H__ virtual void setDPadShow(const core::stringc &name, bool show=true)
virtual void OnRegisterSceneNode()
This method is called just before the rendering process of the whole scene.
virtual void render()
Renders the node.
virtual bool addButton(const core::stringc &name, int x, int y, f32 size=30)
virtual bool addDPad(const core::stringc &name, int x, int y, f32 size=30, int mode=DPAD_MODE_STATIC)
float f32
32 bit floating point variable.
virtual f32 getButtonSize(const core::stringc &name) const
virtual int getDPadMode(const core::stringc &name) const
virtual void setDPadMode(const core::stringc &name, int mode)
virtual bool getDPadShow(const core::stringc &name) const
virtual int isRight(const core::stringc &name) const
virtual int isUp(const core::stringc &name) const
GLuint const GLchar * name
virtual void getDPadPos(const core::stringc &name, int &x, int &y)
virtual const core::aabbox3d< f32 > & getBoundingBox() const
Get the axis aligned, not transformed bounding box of this node.
Everything in the Irrlicht Engine can be found in this namespace.
Main header file of the irrlicht, the only file needed to include.
virtual bool removeDPad(const core::stringc &name)
virtual SDPadData * getDPadData(const core::stringc &name) const
virtual bool setButtonSkin(const core::stringc &name, CARSAPsd *psd, int id)
virtual int getDPadDistancePercent(const core::stringc &name) const
virtual void OnAnimate(u32 timeMs)
OnAnimate() is called just before rendering the whole scene.
virtual f32 getDPadSize(const core::stringc &name) const
Very simple string class with some useful features.
virtual bool setDPadSkinStick(const core::stringc &name, CARSAPsd *psd, int id)
virtual void setButtonSize(const core::stringc &name, f32 size)
virtual SButton * getButton(const core::stringc &name) const
virtual void setButtonShow(const core::stringc &name, bool show=true)
virtual void setDPadSize(const core::stringc &name, f32 size)
virtual int getButtonState(const core::stringc &name) const
virtual bool removeButton(const core::stringc &name)
signed int s32
32 bit signed variable.
virtual void setButtonPos(const core::stringc &name, int x, int y)
virtual int isDown(const core::stringc &name) const
unsigned int u32
32 bit unsigned variable.
virtual f32 getDPadDegree(const core::stringc &name) const
GLint GLint GLint GLint GLint GLint y
ESCENE_NODE_TYPE
An enumeration for all types of built-in scene nodes.
CARSADPad(scene::ISceneNode *parent, scene::ISceneManager *smgr, s32 id=-1)
virtual void clearButton()
virtual bool getButtonShow(const core::stringc &name) const
virtual bool setDPadSkinBG(const core::stringc &name, CARSAPsd *psd, int id)
virtual int isLeft(const core::stringc &name) const
The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
GLint GLint GLint GLint GLint x
#define MAKE_IRR_ID(c0, c1, c2, c3)
ignore VC8 warning deprecated
virtual void getButtonPos(const core::stringc &name, int &x, int &y)
virtual void setDPadPos(const core::stringc &name, int x, int y)
virtual scene::ESCENE_NODE_TYPE getType() const
Returns type of the scene node.