diff options
author | crupest <crupest@outlook.com> | 2022-01-22 22:22:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-22 22:22:45 +0800 |
commit | 14d9efc39635dab2c6c0f791d6b0a63c92d941ee (patch) | |
tree | 0e974083611d5725a2135928749026ac237884f4 /include/cru/ui/style | |
parent | 0e71e7022ee4cfec5b27e178ee1bb7d6977f6b3e (diff) | |
download | cru-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.hpp | 5 |
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>> |