Euphoria
eu::gui::TableLayout Struct Reference

#include <layout.h>

Inheritance diagram for eu::gui::TableLayout:
eu::gui::Layout

Public Member Functions

 TableLayout (const std::vector< bool > &er, const std::vector< bool > &ec, float cp)
 
 ~TableLayout () override=default
 
 TableLayout (const TableLayout &other)=delete
 
void operator= (const TableLayout &)=delete
 
 TableLayout (TableLayout &&other)=delete
 
void operator= (TableLayout &&)=delete
 
size2f calc_minimum_area (const std::vector< std::shared_ptr< Widget >> &widgets) const override
 
void lay_out (std::vector< std::shared_ptr< Widget >> *widgets, const Rectf &area) const override
 
- Public Member Functions inherited from eu::gui::Layout
 Layout ()
 
virtual ~Layout ()
 
 Layout (const Layout &other)=delete
 
void operator= (const Layout &)=delete
 
 Layout (Layout &&other)=delete
 
void operator= (Layout &&)=delete
 

Public Attributes

std::vector< bool > expandable_rows
 
std::vector< bool > expandable_cols
 
float combined_padding
 

Detailed Description

Definition at line 45 of file layout.h.

Constructor & Destructor Documentation

◆ TableLayout() [1/3]

eu::gui::TableLayout::TableLayout ( const std::vector< bool > &  er,
const std::vector< bool > &  ec,
float  cp 
)

Definition at line 23 of file layout.cc.

◆ ~TableLayout()

eu::gui::TableLayout::~TableLayout ( )
overridedefault

◆ TableLayout() [2/3]

eu::gui::TableLayout::TableLayout ( const TableLayout other)
delete

◆ TableLayout() [3/3]

eu::gui::TableLayout::TableLayout ( TableLayout &&  other)
delete

Member Function Documentation

◆ calc_minimum_area()

size2f eu::gui::TableLayout::calc_minimum_area ( const std::vector< std::shared_ptr< Widget >> &  widgets) const
overridevirtual

Implements eu::gui::Layout.

Definition at line 48 of file layout.cc.

◆ lay_out()

void eu::gui::TableLayout::lay_out ( std::vector< std::shared_ptr< Widget >> *  widgets,
const Rectf area 
) const
overridevirtual

Implements eu::gui::Layout.

Definition at line 76 of file layout.cc.

◆ operator=() [1/2]

void eu::gui::TableLayout::operator= ( const TableLayout )
delete

◆ operator=() [2/2]

void eu::gui::TableLayout::operator= ( TableLayout &&  )
delete

Member Data Documentation

◆ combined_padding

float eu::gui::TableLayout::combined_padding

Definition at line 76 of file layout.h.

◆ expandable_cols

std::vector<bool> eu::gui::TableLayout::expandable_cols

Definition at line 75 of file layout.h.

◆ expandable_rows

std::vector<bool> eu::gui::TableLayout::expandable_rows

Definition at line 74 of file layout.h.


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