Porytiles
Loading...
Searching...
No Matches
plain_text_formatter.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace porytiles2 {
6
24class PlainTextFormatter final : public TextFormatter {
25 public:
37 [[nodiscard]] std::string style(const std::string &text, Style style) const override;
38};
39
40} // namespace porytiles2
TextFormatter implementation that strips all styling from text.
std::string style(const std::string &text, Style style) const override
Returns text unchanged, ignoring all styling.
Abstract base class for applying text styling with context-aware formatting.
Style
Bitmask flags for text styling options.