comparison dwtest.c @ 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 99fdcb7f2a2a
children 43d630b2b37f
comparison
equal deleted inserted replaced
2608:a11522c30345 2609:1ee59f231f6c
1054 } 1054 }
1055 1055
1056 int API motion_notify_event(HWND window, int x, int y, int buttonmask, void *data) 1056 int API motion_notify_event(HWND window, int x, int y, int buttonmask, void *data)
1057 { 1057 {
1058 char buf[200]; 1058 char buf[200];
1059 sprintf(buf, "%s: %dx%d", data ? "motion_notify" : "button_press", x, y); 1059 sprintf(buf, "%s: %dx%d buttons %d", data ? "motion_notify" : "button_press", x, y, buttonmask);
1060 dw_window_set_text(status2, buf); 1060 dw_window_set_text(status2, buf);
1061 return 0; 1061 return 0;
1062 } 1062 }
1063 1063
1064 int DWSIGNAL show_window_callback(HWND window, void *data) 1064 int DWSIGNAL show_window_callback(HWND window, void *data)