Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ setIcon()

void Flint::UIButton::setIcon ( std::unique_ptr< UISprite > icon,
IconPlacement placement = IconPlacement::Left )
inline

Embeds an asset image graphic item inside the structural margins of the widget.

Definition at line 55 of file button.h.