578 |
|
|
579 |
/* check for clicks into data area */ |
/* check for clicks into data area */ |
580 |
if(priv->expanded && !priv->handler_id) { |
if(priv->expanded && !priv->handler_id) { |
581 |
|
/* re-adjust from puller top to content top */ |
582 |
|
if(OSD_S_Y < 0) |
583 |
|
y += OSD_S_EXP_H - OSD_S_PH; |
584 |
|
|
585 |
if(x > OSD_S_PW && |
if(x > OSD_S_PW && |
586 |
x < OSD_S_PW + OSD_S_EXP_W && |
x < OSD_S_PW + OSD_S_EXP_W && |
587 |
y > 0 && |
y > 0 && |
588 |
y < OSD_S_EXP_H) { |
y < OSD_S_EXP_H) { |
589 |
|
|
590 |
int step = (priv->height - 2*OSD_TEXT_BORDER) |
int step = (priv->height - 2*OSD_TEXT_BORDER) |
591 |
/ OSM_GPS_MAP_SOURCE_LAST; |
/ OSM_GPS_MAP_SOURCE_LAST; |
592 |
|
|