|
Fray Engine
|
Functions | |
| F_err | saveButtonStyle (const std::filesystem::path &engineDirectory, const std::string &css) |
| Writes the application button stylesheet atomically. | |
| F_err | loadButtonStyle (const std::filesystem::path &engineDirectory, const std::string &defaults, std::string &css) |
| Reads the application button stylesheet, creating it from packaged defaults if absent. | |
Variables | |
| const std::filesystem::path | buttonDirectory = std::filesystem::path("Fray Styles") / "01 Basic Components" |
| Relative directory of the editable application button stylesheet. | |
| constexpr const char * | buttonFile = "fray_button.css" |
| Editable application button stylesheet name. | |
| constexpr std::size_t | maximumStyleSize = 1024 * 1024 |
| Maximum stylesheet size in bytes. | |
|
inline |
Reads the application button stylesheet, creating it from packaged defaults if absent.
| engineDirectory | Directory containing the Engine's application files. |
| defaults | Packaged stylesheet used only when no file exists. |
| css | Receives the complete saved stylesheet. |
Definition at line 60 of file application_style.hpp.
|
inline |
Writes the application button stylesheet atomically.
| engineDirectory | Directory containing the Engine's application files. |
| css | Complete stylesheet text. |
Definition at line 25 of file application_style.hpp.
|
inline |
Relative directory of the editable application button stylesheet.
Definition at line 13 of file application_style.hpp.
|
inlineconstexpr |
Editable application button stylesheet name.
Definition at line 15 of file application_style.hpp.
|
inlineconstexpr |
Maximum stylesheet size in bytes.
Definition at line 17 of file application_style.hpp.