13 const asw::Quad<float> outer { { bounds.position.x - grow, bounds.position.y - grow },
14 { bounds.size.x + (grow * 2.0F), bounds.size.y + (grow * 2.0F) } };
Routines for drawing sprites and primitives to the screen.
void rect(const asw::Quad< float > &position, asw::Color color, float thickness=1.0F)
Draw a rectangle.
void draw_focus_ring(const FocusRingStyle &style, const asw::Quad< float > &bounds)
Draw a focus ring around a widget.
asw::Color color
Ring color.
float width
Ring width in pixels. 0 draws no ring.
float offset
Gap between the widget and the ring, in pixels.
UI theme configuration for the ASW UI module.