I want to have a drawablebutton with a image and with a button background.
I understand that i can do this way:
addAndMakeVisible(TestButton = new DrawableButton("btnTest", DrawableButton::ImageRaw));
TestButton->setBounds(100, 100, 100, 100);
TestButton->setImages(&up, &up, &up);"
The button size is 100 width and 100 height and i want my image door.png that is transparent to be with a size in pixels of 50 pixels height and width in the middle of the DrawableImage that as a color in background that is beige. To give the similiar look as Metro buttons in Windows 8.
Does anyone has the solution ?