Hello all,
I am looing for for an image button without converting my image into binary resources, Anyone please tell me how can i use file.jpg or file.svg
Please Help
Thank Friends....
Hello all,
I am looing for for an image button without converting my image into binary resources, Anyone please tell me how can i use file.jpg or file.svg
Please Help
Thank Friends....
Just set the images to use with setImages(). Something like:
normalImg = ImageCache::getFromFile (File ("normal.png")); hoverImg = ImageCache::getFromFile (File ("hover.png")); downImg = ImageCache::getFromFile (File ("down.png")); button = new ImageButton("Play button"); button->setImages(false, true, true, normalImg, 1.0f, Colours::transparentBlack, hoverImg, 1.0f, Colours::transparentBlack, downImg, 1.0f, Colours::transparentBlack);
Thanks, it working ..