mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 06:18:18 -05:00
* EGD-3408 gui::Text Rich text parser added with pugixml tree & tree walker * EGD-3408 Fitted code in
14 lines
283 B
C++
14 lines
283 B
C++
#include "TextFormat.hpp"
|
|
#include "RawFont.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
auto TextFormat::str() const -> std::string
|
|
{
|
|
std::string ret = font->getName();
|
|
ret += " color: ";
|
|
ret += std::to_string(color.intensity);
|
|
return ret;
|
|
}
|
|
} // namespace gui
|