- virtual void setPressedImage(video::ITexture* image, const core::rect<s32>& pos) override\r
- {\r
- setImage(gui::EGBIS_IMAGE_DOWN, image, pos);\r
- }\r
+ virtual void setPressedImage(video::ITexture* image, const core::rect<s32>& pos) override;\r
+\r
+ //! Sets an image which should be displayed on the button when it is in hovered state.\r
+ virtual void setHoveredImage(video::ITexture* image=nullptr);\r
+\r
+ //! Sets the text displayed by the button\r
+ virtual void setText(const wchar_t* text) override;\r
+ // END PATCH\r
+\r
+ //! Sets an image which should be displayed on the button when it is in hovered state.\r
+ virtual void setHoveredImage(video::ITexture* image, const core::rect<s32>& pos);\r