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"
|
|
bool | setFontFamily = false |
| | The user chose a family from the dropdown or committed the free-text box.
|
|
std::string | fontFamily |
|
bool | setFontSize = false |
| | The user committed a new font size (drag release, typed entry, or preset).
|
|
float | fontSize = 0.0f |
|
bool | toggleBold = false |
|
bool | toggleItalic = false |
|
bool | toggleUnderline = false |
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.
◆ fontFamily
| std::string donner::editor::FormatBarActions::fontFamily |
◆ fontSize
| float donner::editor::FormatBarActions::fontSize = 0.0f |
◆ setFontFamily
| bool donner::editor::FormatBarActions::setFontFamily = false |
The user chose a family from the dropdown or committed the free-text box.
◆ setFontSize
| bool donner::editor::FormatBarActions::setFontSize = false |
The user committed a new font size (drag release, typed entry, or preset).
◆ toggleBold
| bool donner::editor::FormatBarActions::toggleBold = false |
◆ toggleItalic
| bool donner::editor::FormatBarActions::toggleItalic = false |
◆ toggleUnderline
| bool donner::editor::FormatBarActions::toggleUnderline = false |
The documentation for this struct was generated from the following file: