Velvet 0.1a
A beginner-friendly C++ GUI framework built on SFML.
Loading...
Searching...
No Matches
Stack.hpp File Reference
#include <velvet/base/Widget.hpp>
#include <algorithm>
#include <cctype>
#include <iostream>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  Stack
 Container widget that arranges children in a row or column. More...
 
class  HStack
 Horizontal stack helper (StackDirection::Horizontal). More...
 
class  VStack
 Vertical stack helper (StackDirection::Vertical). More...
 

Enumerations

enum class  StackDirection { Horizontal , Vertical }
 Layout direction for Stack. More...
 
enum class  StackJustify { Start , Center , End }
 Main-axis content alignment for Stack. More...
 
enum class  StackAlign { Start , Center , End }
 Cross-axis item alignment for Stack. More...
 

Enumeration Type Documentation

◆ StackAlign

enum class StackAlign
strong

Cross-axis item alignment for Stack.

Enumerator
Start 
Center 
End 

◆ StackDirection

enum class StackDirection
strong

Layout direction for Stack.

Enumerator
Horizontal 
Vertical 

◆ StackJustify

enum class StackJustify
strong

Main-axis content alignment for Stack.

Enumerator
Start 
Center 
End