Paint slot presentation state for the fill/stroke toolbar. More...
#include "donner/editor/EditorShellInternal.h"
Public Attributes | |
| css::RGBA | color |
| Resolved solid color displayed by the paint swatch. | |
| bool | isNone = true |
| Whether the slot represents no paint. | |
| bool | isCustom |
| Whether the slot requires a custom-paint label instead of a solid swatch. | |
| std::optional< ToolbarPaintReferenceState > | reference |
| Referenced paint-server state, when the slot uses a reference. | |
| std::string | customLabel |
| Display label for paint not represented by a solid swatch. | |
Paint slot presentation state for the fill/stroke toolbar.
| css::RGBA donner::editor::internal::ToolbarPaintSlotState::color |
Resolved solid color displayed by the paint swatch.
| std::string donner::editor::internal::ToolbarPaintSlotState::customLabel |
Display label for paint not represented by a solid swatch.
| bool donner::editor::internal::ToolbarPaintSlotState::isCustom |
Whether the slot requires a custom-paint label instead of a solid swatch.
| bool donner::editor::internal::ToolbarPaintSlotState::isNone = true |
Whether the slot represents no paint.
| std::optional<ToolbarPaintReferenceState> donner::editor::internal::ToolbarPaintSlotState::reference |
Referenced paint-server state, when the slot uses a reference.