aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-22 22:22:45 +0800
committercrupest <crupest@outlook.com>2022-01-22 22:22:45 +0800
commit14d9efc39635dab2c6c0f791d6b0a63c92d941ee (patch)
tree0e974083611d5725a2135928749026ac237884f4 /include/cru/ui/style
parent0e71e7022ee4cfec5b27e178ee1bb7d6977f6b3e (diff)
downloadcru-14d9efc39635dab2c6c0f791d6b0a63c92d941ee.tar.gz
cru-14d9efc39635dab2c6c0f791d6b0a63c92d941ee.tar.bz2
cru-14d9efc39635dab2c6c0f791d6b0a63c92d941ee.zip
...
Diffstat (limited to 'include/cru/ui/style')
-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>>