IconButtonWidgetclass represents an interface widget that displays a push button containing an icon.
class IconButtonWidget final : public IconWidget
IconButtonWidget(const Vector2D& size, const char *name, int32 index);
||The size of the quad in which the icon is rendered, in pixels.|
||The name of the album resource.|
||The icon index within the album.|
IconButtonWidgetclass displays a button with a vector-based icon.
The default widget color controls the color of the icon. If the icon has multiple color layers, then the widget color affects only those layers that are specifically designated as using the foreground color. The
kWidgetColorButtoncolor type is also supported by the icon button widget, and it controls the color of the button.
||The icon displayed in the push button is based on the |