Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
sgui::WidgetDrawOptions Struct Reference

Store options for drawing widgets. More...

#include <DrawOptions.h>

Public Attributes

bool horizontal = true
 Specify if a widget is horizontal or vertical.
float progress = 1.f
 Percent to draw for a widget.
WidgetAspect aspect = {}
 To control widget aspect.

Detailed Description

Store options for drawing widgets.

Member Data Documentation

◆ aspect

WidgetAspect sgui::WidgetDrawOptions::aspect = {}

To control widget aspect.

◆ horizontal

bool sgui::WidgetDrawOptions::horizontal = true

Specify if a widget is horizontal or vertical.

◆ progress

float sgui::WidgetDrawOptions::progress = 1.f

Percent to draw for a widget.


The documentation for this struct was generated from the following file: