Mercurial > dwindows
changeset 2609:1ee59f231f6c
Add buttons to the status info on the render test tab.
This should help use make sure iOS and Android are behaving as expected.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 17 Jul 2021 01:24:03 +0000 |
parents | a11522c30345 |
children | da51be036599 |
files | dwtest.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtest.c Fri Jul 16 18:55:05 2021 +0000 +++ b/dwtest.c Sat Jul 17 01:24:03 2021 +0000 @@ -1056,7 +1056,7 @@ int API motion_notify_event(HWND window, int x, int y, int buttonmask, void *data) { char buf[200]; - sprintf(buf, "%s: %dx%d", data ? "motion_notify" : "button_press", x, y); + sprintf(buf, "%s: %dx%d buttons %d", data ? "motion_notify" : "button_press", x, y, buttonmask); dw_window_set_text(status2, buf); return 0; }