mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-24 13:58:00 -05:00
17 lines
419 B
C++
17 lines
419 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#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
|