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

Store constraints on position for gui panel. Alignment always precede relative position. More...

#include <Constraints.h>

Public Attributes

VerticalAlignment vertical = VerticalAlignment::None
HorizontalAlignment horizontal = HorizontalAlignment::None
sf::Vector2f relativePosition = {}

Detailed Description

Store constraints on position for gui panel. Alignment always precede relative position.

Member Data Documentation

◆ horizontal

HorizontalAlignment sgui::Constraints::horizontal = HorizontalAlignment::None

◆ relativePosition

sf::Vector2f sgui::Constraints::relativePosition = {}

◆ vertical

VerticalAlignment sgui::Constraints::vertical = VerticalAlignment::None

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