Mel wrote:With regard to the sprite banks. Would be cool to have a simpler way to change the mouse cursor. The sprites thing is okay, but i am wondering if there isn't a simpler way... Like, setCursorSprite(ITexture*) or something...
You have usually a set of mouse-cursors and you shouldn't put them each in an own texture but all on one. That's why the sprite-banks need to have a texture + rectangles to find a sprite and not just a texture. The spritebank itself could maybe be easier - I'm not sure if SGUISpriteFrame really needs to work with indices to textures and rects, at least for now I suppose working directly with texture-pointer and rects wouldn't really cost that much more memory that it's noticeable and it would be easier to work with. But maybe there were more features planned for the spritebank. Or maybe it could get some more tool-functions to make it easier to work with - if you have proposals for that I can try to add them. For now I decided to simply use it as it is and added some tool-functions in the cursor-example instead.

