summaryrefslogtreecommitdiff
path: root/plugingui/widget.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-10-09 18:02:19 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-10-09 18:02:19 +0200
commit2d6cbf8a0bb81bfe55a7d4e04d53a704f93c6b2e (patch)
tree80bab0705a6d5aec8569a3ed626a33a6224cf4f0 /plugingui/widget.cc
parent9b7299412d10e68c8aacc5f0debb7c80bf874120 (diff)
Make FileBrowser window always-on-top and try to position it inside the plugin gui window rectangle.
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;