summaryrefslogtreecommitdiff
path: root/plugingui/window.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-06 09:30:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-06 09:30:52 +0100
commita0b7282b31ed31051ee98bf16e8704d5599e5461 (patch)
tree49798ac70adbac0e065781833f045bab8a65bb0b /plugingui/window.cc
parentdff2ff5b636d9d7007bf8589204e6a7138ee4004 (diff)
Major GUI workover. Hilights: A new filebrowser and new knob widget.
Diffstat (limited to 'plugingui/window.cc')
-rw-r--r--plugingui/window.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/window.cc b/plugingui/window.cc
index bbeffa1..1795d62 100644
--- a/plugingui/window.cc
+++ b/plugingui/window.cc
@@ -104,6 +104,8 @@ size_t GUI::Window::x() { return _x; }
size_t GUI::Window::y() { return _y; }
size_t GUI::Window::width() { return _width; }
size_t GUI::Window::height() { return _height; }
+size_t GUI::Window::windowX() { return 0; }
+size_t GUI::Window::windowY() { return 0; }
void GUI::Window::show()
{
@@ -200,5 +202,6 @@ GUI::Widget *GUI::Window::buttonDownFocus()
void GUI::Window::setButtonDownFocus(GUI::Widget *widget)
{
_buttonDownFocus = widget;
+ native->grabMouse(widget != NULL);
// repaint_r(NULL);
}