63 void setVisible(
bool should_be_visible)
override;
80 std::unique_ptr<PlainTextComponent> text_;
85 std::unique_ptr<class OpenGlHyperlink> link_;
A section overlay that displays an expiration message for a beta version of the plugin.
Definition expired_section.h:14
static constexpr int kPaddingX
The horizontal padding within the overlay.
Definition expired_section.h:29
static constexpr int kPaddingY
The vertical padding within the overlay.
Definition expired_section.h:34
void setVisible(bool should_be_visible) override
Sets the visibility of this overlay.
Definition expired_section.cpp:57
static constexpr int kExpiredHeight
The fixed height of the expired section overlay.
Definition expired_section.h:24
static constexpr int kExpiredWidth
The fixed width of the expired section overlay.
Definition expired_section.h:19
ExpiredSection(String name)
Constructs an ExpiredSection overlay.
Definition expired_section.cpp:26
virtual ~ExpiredSection()=default
Destructor.
Rectangle< int > getExpiredRect()
Computes the rectangle area occupied by the expired message section.
Definition expired_section.cpp:68
void resized() override
Called when the component is resized.
Definition expired_section.cpp:41
static constexpr int kButtonHeight
The height of the clickable button area (e.g., hyperlink text).
Definition expired_section.h:39
A convenience class for a single quad rendered via OpenGL.
Definition open_gl_multi_quad.h:447
A SynthSection that displays an overlay with a background and optional listeners.
Definition overlay.h:180