Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::layout_manager Class Reference

#include <layout_manager.h>

Public Member Functions

void init (const fs::path &layouts_directory)
 
void save_preset (const std::string &name)
 
void load_preset (const std::string &name)
 
void delete_preset (const std::string &name)
 
void reset_to_default ()
 
auto get_preset_names () const -> std::vector< std::string >
 
auto has_preset (const std::string &name) const -> bool
 
auto get_layouts_directory () const -> const fs::path &
 

Detailed Description

Definition at line 12 of file layout_manager.h.

Member Function Documentation

◆ delete_preset()

void unravel::layout_manager::delete_preset ( const std::string & name)

Definition at line 57 of file layout_manager.cpp.

◆ get_layouts_directory()

auto unravel::layout_manager::get_layouts_directory ( ) const -> const fs::path&

Definition at line 98 of file layout_manager.cpp.

◆ get_preset_names()

auto unravel::layout_manager::get_preset_names ( ) const -> std::vector<std::string>

Definition at line 82 of file layout_manager.cpp.

◆ has_preset()

auto unravel::layout_manager::has_preset ( const std::string & name) const -> bool

Definition at line 93 of file layout_manager.cpp.

◆ init()

void unravel::layout_manager::init ( const fs::path & layouts_directory)

Definition at line 14 of file layout_manager.cpp.

◆ load_preset()

void unravel::layout_manager::load_preset ( const std::string & name)

Definition at line 41 of file layout_manager.cpp.

◆ reset_to_default()

void unravel::layout_manager::reset_to_default ( )

Definition at line 71 of file layout_manager.cpp.

◆ save_preset()

void unravel::layout_manager::save_preset ( const std::string & name)

Definition at line 24 of file layout_manager.cpp.


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