diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-13 10:41:27 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-13 10:41:27 -0400 |
| commit | b01c65394202a5377313afe08cd5fb56f0903831 (patch) | |
| tree | 7616ad8b85e79847c89663ee4f72acfe2d6df47b /redo/area_windows.go | |
| parent | 59f2eeca22dd15daf9d7765c1709bf926d158faf (diff) | |
Made Areas on Windows tab stops and implemented AreaHandler.Defocuses() on Windows.
Diffstat (limited to 'redo/area_windows.go')
| -rw-r--r-- | redo/area_windows.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redo/area_windows.go b/redo/area_windows.go index 05f0274..de03d10 100644 --- a/redo/area_windows.go +++ b/redo/area_windows.go @@ -280,6 +280,15 @@ func areaResetClickCounter(data unsafe.Pointer) { a.clickCounter.reset() } +//export areaDefocuses +func areaDefocuses(data unsafe.Pointer) C.BOOL { + a := (*area)(data) + if a.handler.Defocuses() { + return C.TRUE + } + return C.FALSE +} + func (a *area) hwnd() C.HWND { return a._hwnd } |
