diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-12 11:07:22 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-12 11:07:22 +0100 |
commit | cec1d9ea562e3d52c98f1219db5e186943f2f0d6 (patch) | |
tree | 3a66ff06ef16cce96e215644032e6c9fac2cbe8a /plugingui/nativewindow_win32.cc | |
parent | dc33f15a6b968139779c2b7d2003d3ef6e7d5748 (diff) |
Refactor/introduce widget and windiow redraw/dirty mechanism to eradicate unnecessary rendering passes during event handling.
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r-- | plugingui/nativewindow_win32.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 23c9012..669ec13 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -379,10 +379,6 @@ void NativeWindowWin32::show() ShowWindow(m_hwnd, SW_SHOW); } -void NativeWindowWin32::handleBuffer() -{ -} - void NativeWindowWin32::hide() { ShowWindow(m_hwnd, SW_HIDE); @@ -390,6 +386,7 @@ void NativeWindowWin32::hide() void NativeWindowWin32::redraw() { + // Send WM_PAINT message. Buffer transfering is handled in MessageHandler. if(parent_window == nullptr) { RedrawWindow(m_hwnd, nullptr, nullptr, RDW_ERASE|RDW_INVALIDATE); |