summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-17 10:58:08 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-17 10:58:08 +0100
commit35730491ef90528be367b5c59261ec82984b50e0 (patch)
tree8318453dd40404ddcb02ff86e10403f8698c2a75 /plugingui/nativewindow.h
parent27942ce1947d3fcd18b67702f4565bb399441bb8 (diff)
Add partial rendering support when rendering widgets to window pixel buffer and also when rendering window pixel buffer to native window. Win32 only partially implemented.
Diffstat (limited to 'plugingui/nativewindow.h')
-rw-r--r--plugingui/nativewindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/nativewindow.h b/plugingui/nativewindow.h
index 7b7fd39..c6ca7c8 100644
--- a/plugingui/nativewindow.h
+++ b/plugingui/nativewindow.h
@@ -29,6 +29,8 @@
#include <string>
#include <memory>
#include <queue>
+#include <tuple>
+#include <vector>
#include "guievent.h"
@@ -70,7 +72,7 @@ public:
virtual void setCaption(const std::string &caption) = 0;
//! Draw the internal rendering buffer to the window buffer.
- virtual void redraw() = 0;
+ virtual void redraw(const Rect& dirty_rect) = 0;
//! Toggle capture mouse mode.
virtual void grabMouse(bool grab) = 0;