aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/Button.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-12-02 19:38:25 +0800
committercrupest <crupest@outlook.com>2020-12-02 19:38:25 +0800
commitd7dca1be0dd0814e30fa63924a20af3d924e974c (patch)
tree0a5ea0b637dc8392eee67ec625a51cef09ec8731 /src/ui/controls/Button.cpp
parent145cfd5b82d76e0c937eceda707aa22427899943 (diff)
downloadcru-d7dca1be0dd0814e30fa63924a20af3d924e974c.tar.gz
cru-d7dca1be0dd0814e30fa63924a20af3d924e974c.tar.bz2
cru-d7dca1be0dd0814e30fa63924a20af3d924e974c.zip
...
Diffstat (limited to 'src/ui/controls/Button.cpp')
-rw-r--r--src/ui/controls/Button.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/controls/Button.cpp b/src/ui/controls/Button.cpp
index 39c4b961..6f19e6b9 100644
--- a/src/ui/controls/Button.cpp
+++ b/src/ui/controls/Button.cpp
@@ -64,4 +64,8 @@ Button::~Button() = default;
render::RenderObject* Button::GetRenderObject() const {
return render_object_.get();
}
+
+void Button::ApplyBorderStyle(const style::ApplyBorderStyleInfo& style) {
+ render_object_->ApplyBorderStyle(style);
+}
} // namespace cru::ui::controls