Euphoria
eu::gui Namespace Reference

Classes

struct  Button
 
struct  Container
 
struct  Layout
 
struct  TableLayout
 
struct  SingleRowLayout
 
struct  LayoutContainer
 
struct  LayoutData
 
struct  CommandButton
 
struct  PanelWidget
 
struct  Root
 
struct  Interpolation
 
struct  ButtonState
 
struct  Skin
 
struct  TextData
 
struct  State
 
struct  Visitor
 
struct  Widget
 

Functions

std::shared_ptr< Layoutcreate_table_layout (const std::vector< bool > &expandable_rows, const std::vector< bool > &expandable_cols, float combined_padding)
 
std::shared_ptr< Layoutcreate_single_row_layout (float padding)
 
std::shared_ptr< Layoutcreate_layout (const files::gui::Layout &c)
 
void build_layout_container (io::FileSystem *fs, State *state, LayoutContainer *root, const files::gui::LayoutContainer &c, render::TextureCache *cache, const std::map< std::string, Skin * > &skins)
 
void setup_layout (LayoutData *data, const files::gui::Widget &src)
 
Lrud< float > from_gaf_to_lrud (const files::gui::Lrtb &lrtd)
 
std::shared_ptr< Widgetcreate_widget (io::FileSystem *fs, State *state, const files::gui::Widget &w, render::TextureCache *cache, const std::map< std::string, Skin * > &skins)
 
Rgb load (const files::gui::Rgb &src)
 
core::easing::Function load (files::gui::InterpolationType t)
 
ButtonState load_button (const files::gui::ButtonState &src)
 
std::shared_ptr< Skinload_skin (const files::gui::Skin &src, render::FontCache *font, const io::DirPath &folder)
 
bool load_gui (Root *root, io::FileSystem *fs, render::FontCache *font, const io::FilePath &path, render::TextureCache *cache)
 

Function Documentation

◆ build_layout_container()

void eu::gui::build_layout_container ( io::FileSystem fs,
State state,
LayoutContainer root,
const files::gui::LayoutContainer c,
render::TextureCache cache,
const std::map< std::string, Skin * > &  skins 
)

Definition at line 187 of file load.cc.

◆ create_layout()

std::shared_ptr<Layout> eu::gui::create_layout ( const files::gui::Layout c)

Definition at line 26 of file load.cc.

◆ create_single_row_layout()

std::shared_ptr< Layout > eu::gui::create_single_row_layout ( float  padding)

Definition at line 30 of file layoutcontainer.cc.

◆ create_table_layout()

std::shared_ptr< Layout > eu::gui::create_table_layout ( const std::vector< bool > &  expandable_rows,
const std::vector< bool > &  expandable_cols,
float  combined_padding 
)

Definition at line 9 of file layoutcontainer.cc.

◆ create_widget()

std::shared_ptr<Widget> eu::gui::create_widget ( io::FileSystem fs,
State state,
const files::gui::Widget w,
render::TextureCache cache,
const std::map< std::string, Skin * > &  skins 
)

Definition at line 103 of file load.cc.

◆ from_gaf_to_lrud()

Lrud<float> eu::gui::from_gaf_to_lrud ( const files::gui::Lrtb lrtd)

Definition at line 90 of file load.cc.

◆ load() [1/2]

Rgb eu::gui::load ( const files::gui::Rgb src)

Definition at line 205 of file load.cc.

◆ load() [2/2]

Definition at line 211 of file load.cc.

◆ load_button()

ButtonState eu::gui::load_button ( const files::gui::ButtonState src)

Definition at line 234 of file load.cc.

◆ load_gui()

bool eu::gui::load_gui ( Root root,
io::FileSystem fs,
render::FontCache font,
const io::FilePath path,
render::TextureCache cache 
)

Definition at line 307 of file load.cc.

◆ load_skin()

std::shared_ptr<Skin> eu::gui::load_skin ( const files::gui::Skin src,
render::FontCache font,
const io::DirPath folder 
)

Definition at line 263 of file load.cc.

◆ setup_layout()

void eu::gui::setup_layout ( LayoutData data,
const files::gui::Widget src 
)

Definition at line 80 of file load.cc.