Edge-triggered requests emitted by the format bar in one frame. Each set* / toggle* flag is true only on the frame the user committed the control. More...
#include "donner/editor/TextFormatBarPresenter.h"
Edge-triggered requests emitted by the format bar in one frame. Each set* / toggle* flag is true only on the frame the user committed the control.
| std::string donner::editor::FormatBarActions::fontFamily |
Selected CSS font-family value for a family change.
| float donner::editor::FormatBarActions::fontSize = 0.0f |
Selected font size for a size change.
| std::vector<std::string> donner::editor::FormatBarActions::requestFontPreviews |
Visible dropdown rows whose family-name previews are not cached yet.
| std::vector<std::string> donner::editor::FormatBarActions::retryFontFamilies |
Explicit retry actions; the transport broker enforces its per-asset cooldown.
| bool donner::editor::FormatBarActions::setFontFamily = false |
The user chose a family from the dropdown or committed the free-text box.
| bool donner::editor::FormatBarActions::setFontSize = false |
The user committed a new font size (drag release, typed entry, or preset).
| bool donner::editor::FormatBarActions::toggleBold = false |
Request toggling bold at the active text selection.
| bool donner::editor::FormatBarActions::toggleItalic = false |
Request toggling italic at the active text selection.
| bool donner::editor::FormatBarActions::toggleUnderline = false |
Request toggling underline at the active text selection.
| std::vector<std::string> donner::editor::FormatBarActions::visibleFontFamilies |
All currently visible rows, including rows whose preview is already cached.