![]() |
ChessPlusPlus
WIP
cplusplus.com Community Project
|
Holds configuration for resources (graphics, fonts, etc) More...
#include <ResourcesConfig.hpp>
Public Member Functions | |
| ResourcesConfig () | |
| Loads resource configuration from "config/chesspp/resources.json". More... | |
| res::ResourceManager & | resources () noexcept |
| Get the chesspp::res::ResourceManager. More... | |
Public Member Functions inherited from chesspp::config::Configuration | |
| Configuration (std::string const &configFile) noexcept(false) | |
| Loads the configuration from the given file path. More... | |
| virtual | ~Configuration ()=default |
| template<typename... Path> | |
| auto | setting (Path const &...path) -> decltype(reader.navigate(path...)) |
| Access values in the configuration. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from chesspp::config::Configuration | |
| static std::string | executablePath () |
| Get the path to the directory the executable is in. More... | |
Protected Attributes inherited from chesspp::config::Configuration | |
| std::string | res_path |
| Stores the path to the directory where configuration paths are relative to. More... | |
| util::JsonReader | reader |
| The chessp::util::JsonReader for reading the configuration values. More... | |
Holds configuration for resources (graphics, fonts, etc)
|
inline |
Loads resource configuration from "config/chesspp/resources.json".
|
inlinenoexcept |
Get the chesspp::res::ResourceManager.