/contrib/media/fplay/winlib/frame.c |
---|
201,7 → 201,7 |
int relx, rely; |
capture_mouse(ctrl); |
spos = get_cursor_pos(); |
spos = GetMousePos(POS_SCREEN); |
fr->track = rc; |
relx = spos.x - win->rc.l; |
235,7 → 235,7 |
if(mouse_capture == ctrl) |
{ |
pos_t npos; |
npos = get_cursor_pos(); |
npos = GetMousePos(POS_SCREEN); |
// printf("cursor pos %dx%d\n", npos.x, npos.y); |
if( npos.val != spos.val) |
/contrib/media/fplay/winlib/window.c |
---|
397,7 → 397,7 |
pos_t pos; |
mouse_action = 0; |
pos = get_mouse_pos(); |
pos = GetMousePos(POS_WINDOW); |
if(pos.val != old_pos.val) |
{ |
406,7 → 406,7 |
}; |
// printf("pos x%d y%d\n", pos.x, pos.y); |
buttons = get_mouse_buttons(); |
buttons = GetMouseButtons(); |
wheels = get_mouse_wheels(); |
if( wheels & 0xFFFF){ |