|
|
@@ -44,14 +44,16 @@ public: |
|
|
|
//==============================================================================
|
|
|
|
enum ButtonStyle
|
|
|
|
{
|
|
|
|
ImageFitted, /**< The button will just display the images, but will resize and centre them to fit inside it. */
|
|
|
|
ImageRaw, /**< The button will just display the images in their normal size and position.
|
|
|
|
This leaves it up to the caller to make sure the images are the correct size and position for the button. */
|
|
|
|
ImageAboveTextLabel, /**< Draws the button as a text label across the bottom with the image resized and scaled to fit above it. */
|
|
|
|
ImageOnButtonBackground, /**< Draws the button as a standard rounded-rectangle button with the image on top.
|
|
|
|
Note that if you use this style, the colour IDs that control the button colour are
|
|
|
|
TextButton::buttonColourId and TextButton::buttonOnColourId. */
|
|
|
|
ImageStretched /**< Fills the button with a stretched version of the image. */
|
|
|
|
ImageFitted, /**< The button will just display the images, but will resize and centre them to fit inside it. */
|
|
|
|
ImageRaw, /**< The button will just display the images in their normal size and position.
|
|
|
|
This leaves it up to the caller to make sure the images are the correct size and position for the button. */
|
|
|
|
ImageAboveTextLabel, /**< Draws the button as a text label across the bottom with the image resized and scaled to fit above it. */
|
|
|
|
ImageOnButtonBackground, /**< Draws the button as a standard rounded-rectangle button with the image on top. The image will be resized
|
|
|
|
to match the button's proportions.
|
|
|
|
Note that if you use this style, the colour IDs that control the button colour are
|
|
|
|
TextButton::buttonColourId and TextButton::buttonOnColourId. */
|
|
|
|
ImageOnButtonBackgroundOriginalSize, /** Same as ImageOnButtonBackground, but keeps the original image size. */
|
|
|
|
ImageStretched /**< Fills the button with a stretched version of the image. */
|
|
|
|
};
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|