(publisher *MouseEventPublisher, wParam, lParam uintptr)
| 2055 | } |
| 2056 | |
| 2057 | func (wb *WindowBase) publishMouseWheelEvent(publisher *MouseEventPublisher, wParam, lParam uintptr) { |
| 2058 | x := int(win.GET_X_LPARAM(lParam)) |
| 2059 | y := int(win.GET_Y_LPARAM(lParam)) |
| 2060 | button := MouseButton(uint32(wParam)) |
| 2061 | |
| 2062 | publisher.Publish(x, y, button) |
| 2063 | } |
| 2064 | |
| 2065 | // SizeChanged returns an *Event that you can attach to for handling size |
| 2066 | // changed events for the *WindowBase. |
no test coverage detected