MPDUI::ToggleButton
A custom toggle button built on UIng::Area. Renders as a fixed-size rounded rect with a centered emoji/text label. Active state is indicated by a highlighted background.
Constants
BG_ACTIVE = {0.18, 0.45, 0.72, 1.0}
BG_HOVER = {0.30, 0.30, 0.30, 1.0}
BG_NORMAL = {0.22, 0.22, 0.22, 1.0}
bg colors (r,g,b,a)
BORDER = {0.45, 0.45, 0.45, 1.0}
SIZE = 36
Constructors
Instance methods
active
Sourcearea
Sourceon_toggled
Source