summaryrefslogtreecommitdiff
path: root/plugingui/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/widget.cc')
-rw-r--r--plugingui/widget.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/widget.cc b/plugingui/widget.cc
index c148219..5a76af9 100644
--- a/plugingui/widget.cc
+++ b/plugingui/widget.cc
@@ -196,6 +196,11 @@ std::size_t Widget::height() const
return _height;
}
+Point Widget::position() const
+{
+ return { _x, _y };
+}
+
PixelBufferAlpha& Widget::GetPixelBuffer()
{
return pixbuf;