aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style/ApplyBorderStyleInfo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/style/ApplyBorderStyleInfo.hpp')
-rw-r--r--include/cru/ui/style/ApplyBorderStyleInfo.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cru/ui/style/ApplyBorderStyleInfo.hpp b/include/cru/ui/style/ApplyBorderStyleInfo.hpp
index 3923ebb4..7ae5b2c5 100644
--- a/include/cru/ui/style/ApplyBorderStyleInfo.hpp
+++ b/include/cru/ui/style/ApplyBorderStyleInfo.hpp
@@ -5,9 +5,10 @@
namespace cru::ui::style {
struct ApplyBorderStyleInfo {
+ ApplyBorderStyleInfo() = default;
+
explicit ApplyBorderStyleInfo(
- std::optional<std::shared_ptr<platform::graphics::IBrush>> border_brush =
- std::nullopt,
+ std::optional<std::shared_ptr<platform::graphics::IBrush>> border_brush,
std::optional<Thickness> border_thickness = std::nullopt,
std::optional<CornerRadius> border_radius = std::nullopt,
std::optional<std::shared_ptr<platform::graphics::IBrush>>