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