Euphoria
eu::gui::SingleRowLayout Struct Reference

#include <layout.h>

Inheritance diagram for eu::gui::SingleRowLayout:
eu::gui::Layout

Public Member Functions

 SingleRowLayout (float padding)
 
 ~SingleRowLayout () override=default
 
 SingleRowLayout (const SingleRowLayout &other)=delete
 
void operator= (const SingleRowLayout &)=delete
 
 SingleRowLayout (SingleRowLayout &&other)=delete
 
void operator= (SingleRowLayout &&)=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

float padding
 

Detailed Description

Definition at line 79 of file layout.h.

Constructor & Destructor Documentation

◆ SingleRowLayout() [1/3]

eu::gui::SingleRowLayout::SingleRowLayout ( float  padding)

Definition at line 162 of file layout.cc.

◆ ~SingleRowLayout()

eu::gui::SingleRowLayout::~SingleRowLayout ( )
overridedefault

◆ SingleRowLayout() [2/3]

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

◆ SingleRowLayout() [3/3]

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

Member Function Documentation

◆ calc_minimum_area()

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

Implements eu::gui::Layout.

Definition at line 169 of file layout.cc.

◆ lay_out()

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

Implements eu::gui::Layout.

Definition at line 196 of file layout.cc.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ padding

float eu::gui::SingleRowLayout::padding

Definition at line 103 of file layout.h.


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