Diff of /trunk/src/osm-gps-map-osd-classic.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 89 by harbaum, Tue Sep 1 11:16:30 2009 UTC revision 94 by harbaum, Thu Sep 3 11:04:05 2009 UTC
# Line 578  osd_source_check(osm_gps_map_osd_t *osd, Line 578  osd_source_check(osm_gps_map_osd_t *osd,
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    

Legend:
Removed from v.89  
changed lines
  Added in v.94