TGUI  0.8-dev
tgui::RelLayout Struct Reference

Class to create a relative layout without using a string. More...

#include <Layout.hpp>

Inheritance diagram for tgui::RelLayout:
tgui::Layout

Additional Inherited Members

- Public Member Functions inherited from tgui::Layout
TGUI_CONSTEXPR Layout ()=default
 Default constructor.
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
TGUI_CONSTEXPR Layout (T constant)
 Constructor to implicitly construct from numeric constant. More...
 
 Layout (const char *expression)
 Construct the layout based on a string which will be parsed to determine the value of the layout. More...
 
 Layout (const std::string &expression)
 Construct the layout based on a string which will be parsed to determine the value of the layout. More...
 
TGUI_CONSTEXPR float getValue () const
 Returns the cached value of the layout. More...
 

Detailed Description

Class to create a relative layout without using a string.


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