1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Moved DrawableButton painting into a new method LookAndFeel::drawDrawableButton()

This commit is contained in:
jules 2013-08-12 12:13:15 +01:00
parent 74390295ad
commit cfe45720cc
4 changed files with 42 additions and 29 deletions

View file

@ -115,6 +115,9 @@ public:
*/
void setButtonStyle (ButtonStyle newStyle);
/** Returns the current style. */
ButtonStyle getStyle() const noexcept { return style; }
//==============================================================================
/** Gives the button an optional amount of space around the edge of the drawable.
By default there's a gap of about 3 pixels.