Using sprite with IGUIButton

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Insects
Posts: 7
Joined: Thu Oct 25, 2007 1:58 am

Using sprite with IGUIButton

Post by Insects »

Hello,

I'm trying to use sprite with IGUIButton.
I use "setSprite" and "setSpriteBank" (i included "IGUISpriteBank.h" in "irrlicht.h" because it were missing)
But please how can i use this one with my button :? ?

On the other hand, i have a texture where i want to get a part with a given rect<s32>.
As "draw2DImage", but i just want to get the part as a new texture, not to draw it immediately.
Is there a function to do that ?

Thanks a lot :wink:

Bye
Post Reply