aboutsummaryrefslogtreecommitdiff
path: root/src/ui/render/WindowRenderObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/render/WindowRenderObject.cpp')
-rw-r--r--src/ui/render/WindowRenderObject.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ui/render/WindowRenderObject.cpp b/src/ui/render/WindowRenderObject.cpp
index a2c7ae4d..4adf559e 100644
--- a/src/ui/render/WindowRenderObject.cpp
+++ b/src/ui/render/WindowRenderObject.cpp
@@ -12,16 +12,6 @@ WindowRenderObject::WindowRenderObject(UiHost* host) {
[this](auto) { NotifyAfterLayoutRecursive(this); }));
}
-void WindowRenderObject::Draw(platform::graph::IPainter* painter) {
- painter->Clear(colors::white);
- if (const auto child = GetChild()) {
- auto offset = child->GetOffset();
- platform::graph::util::WithTransform(
- painter, platform::Matrix::Translation(offset.x, offset.y),
- [child](platform::graph::IPainter* p) { child->Draw(p); });
- }
-}
-
RenderObject* WindowRenderObject::HitTest(const Point& point) {
if (const auto child = GetChild()) {
auto offset = child->GetOffset();