A "Button" can be created by:
ui::Button* button = ui::Button::create("button.png");
How can we use a sprite sheet for this ?
EDIT: If I just put the name of a sprite frame for example:
ui::Button* button = ui::Button::create("button");
Then it doesn't detect it - thinks there is a missing image.