Unravel Engine C++ Reference
Loading...
Searching...
No Matches
style_sheet.cpp
Go to the documentation of this file.
1#include "style_sheet.h"
2
3namespace unravel
4{
5
6auto style_sheet::is_valid() const -> bool
7{
8 return !content.empty();
9}
10
11auto style_sheet::get_content_size() const -> size_t
12{
13 return content.size();
14}
15
16} // namespace unravel
std::string content
The CSS/RCSS content of the style sheet.
Definition style_sheet.h:32
auto get_content_size() const -> size_t
Get the size of the content in bytes.
auto is_valid() const -> bool
Check if the style sheet content is valid/non-empty.