diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-23 10:35:23 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-29 22:00:33 +0100 |
commit | 5dd45bee5816ef1e941fdf1122943e4ab345f388 (patch) | |
tree | 8e6e00f3cd8b12186c5db4efe4a58b577f6d5d60 /hmp.c | |
parent | 381600dad956ba246f8cb9806e70423f4121bae3 (diff) |
ui/cocoa: Add utility method to check if point is within window
Add a utility method to check whether a point is within the current window
bounds, and use it in the various places in the mouse handling code that
were opencoding the check.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1403516125-14568-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hmp.c')
0 files changed, 0 insertions, 0 deletions