From caeff5bb88718b7bf7ec8325496ee2f2d87bd5eb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 9 Jun 2014 22:26:37 -0400 Subject: Implemented RepaintAll() on Windows. --- sysdata_windows.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sysdata_windows.go') diff --git a/sysdata_windows.go b/sysdata_windows.go index 7e0335c..94f719a 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -669,3 +669,19 @@ func (s *sysData) setAreaSize(width int, height int) { } <-ret } + +func (s *sysData) repaintAll() { + ret := make(chan uiret) + defer close(ret) + uitask <- &uimsg{ + call: _sendMessage, + p: []uintptr{ + uintptr(s.hwnd), + uintptr(msgRepaintAll), + uintptr(0), + uintptr(0), + }, + ret: ret, + } + <-ret +} -- cgit v1.2.3