summaryrefslogtreecommitdiff
path: root/sysdata_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-09 22:26:37 -0400
committerPietro Gagliardi <[email protected]>2014-06-09 22:26:37 -0400
commitcaeff5bb88718b7bf7ec8325496ee2f2d87bd5eb (patch)
tree09d994d1dc2d6ed6d8fe56a97ceb3e83baa666f6 /sysdata_windows.go
parentf8d46b6bdb3ae58908bdda0515041e34a7f36b24 (diff)
Implemented RepaintAll() on Windows.
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
+}