summaryrefslogtreecommitdiffstats
path: root/qgraphicssystem_dd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qgraphicssystem_dd.cpp')
-rw-r--r--qgraphicssystem_dd.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/qgraphicssystem_dd.cpp b/qgraphicssystem_dd.cpp
index 7f680c3..e48d078 100644
--- a/qgraphicssystem_dd.cpp
+++ b/qgraphicssystem_dd.cpp
@@ -134,6 +134,35 @@ void QDevDaysWindowSurface::endPaint(const QRegion &region)
else
qDebug() << "WINDOW: failed to unlock shared memory";
}
+
+
+void QDevDaysWindowSurface::setVisible(bool visible)
+{
+ qDebug() << "WINDOW: setVisible()" << visible;
+ Request request(visible ? Request::ShowWindowRequest : Request::HideWindowRequest, m_id);
+ m_system->sendRequest(request);
+}
+
+
+
+void QDevDaysWindowSurface::raise()
+{
+ qDebug() << "WINDOW: raise()";
+ Request request(Request::RaiseWindowRequest, m_id);
+ m_system->sendRequest(request);
+
+}
+
+void QDevDaysWindowSurface::lower()
+{
+ qDebug() << "WINDOW: lower()";
+ Request request(Request::LowerWindowRequest, m_id);
+ m_system->sendRequest(request);
+
+}
+
+
+
/*
void QDevDaysWindowSurface::handleMouseEvent(const Event &event)
{