64 void setFont (
const Font& newFont,
65 bool resizeToMatchComponentHeight,
66 Justification justificationType = Justification::horizontallyCentred);
78 textColourId = 0x1001f00,
83 void setURL (
const URL& newURL)
noexcept;
93 void changeWidthToFitText();
110 void clicked()
override;
112 void colourChanged()
override;
114 void paintButton (
Graphics&,
bool,
bool)
override;
118 using Button::clicked;
119 Font getFontToUse()
const;
Represents a particular font, including its size, style, etc.
A graphics context, used for drawing a component or image.
Represents a type of justification to be used when positioning graphical items.
Represents a URL and has a bunch of useful functions to manipulate it.