NOCL  v0.1.0-2524
Modern C++ Class Library for GUI Projects
nocl::FlexItem Class Referencefinal

Item used with the Flexbox layout engine. More...

#include <FlexItem.hpp>

Collaboration diagram for nocl::FlexItem:

Public Types

typedef Flexbox::EAlignItems EAlignSelf
 

Public Member Functions

 ~FlexItem (void)
 
 FlexItem (void)
 
 FlexItem (const int w, const int h)
 
 FlexItem (const int w, const int h, GUIComponent &component)
 
 FlexItem (const int w, const int h, Flexbox &flex_box)
 
 FlexItem (GUIComponent &component)
 
 FlexItem (Flexbox &flex_box)
 

Public Attributes

size_t order
 
size_t flex_grow
 
size_t flex_shrink
 
size_t flex_basis
 
EAlignSelf align_self
 
int width
 
int height
 
GUIComponentchild
 

Detailed Description

Item used with the Flexbox layout engine.

Member Typedef Documentation

◆ EAlignSelf

Constructor & Destructor Documentation

◆ ~FlexItem()

nocl::FlexItem::~FlexItem ( void  )

◆ FlexItem() [1/6]

nocl::FlexItem::FlexItem ( void  )

◆ FlexItem() [2/6]

nocl::FlexItem::FlexItem ( const int  w,
const int  h 
)

References height, and width.

◆ FlexItem() [3/6]

nocl::FlexItem::FlexItem ( const int  w,
const int  h,
GUIComponent component 
)

References child, height, and width.

◆ FlexItem() [4/6]

nocl::FlexItem::FlexItem ( const int  w,
const int  h,
Flexbox flex_box 
)

References child, height, and width.

◆ FlexItem() [5/6]

nocl::FlexItem::FlexItem ( GUIComponent component)

References child.

◆ FlexItem() [6/6]

nocl::FlexItem::FlexItem ( Flexbox flex_box)

References child.

Member Data Documentation

◆ order

size_t nocl::FlexItem::order

◆ flex_grow

size_t nocl::FlexItem::flex_grow

◆ flex_shrink

size_t nocl::FlexItem::flex_shrink

◆ flex_basis

size_t nocl::FlexItem::flex_basis

◆ align_self

EAlignSelf nocl::FlexItem::align_self

◆ width

int nocl::FlexItem::width

Referenced by FlexItem().

◆ height

int nocl::FlexItem::height

Referenced by FlexItem().

◆ child

GUIComponent* nocl::FlexItem::child

The documentation for this class was generated from the following files: