summaryrefslogtreecommitdiff
path: root/sysdata_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_windows.go')
-rw-r--r--sysdata_windows.go16
1 files changed, 16 insertions, 0 deletions
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
+}