comparison src/pixbuf-renderer.c @ 673:fbebf5cf4a55

Do not use printf() directly but use new wrapper function log_printf() instead.
author zas_
date Fri, 16 May 2008 12:16:49 +0000
parents 8268cbe682f1
children 631d626c1f6b
comparison
equal deleted inserted replaced
672:913eb0ba99a6 673:fbebf5cf4a55
2100 break; 2100 break;
2101 default: 2101 default:
2102 /* The other values are out of range */ 2102 /* The other values are out of range */
2103 break; 2103 break;
2104 } 2104 }
2105 // printf("tile coord y:%f, ih:%d, th:%f ry:%f\n", tile_y, image_h, tile_h, *res_x); 2105 // log_printf("tile coord y:%f, ih:%d, th:%f ry:%f\n", tile_y, image_h, tile_h, *res_x);
2106 } 2106 }
2107 2107
2108 static void pr_tile_region_map_orientation(PixbufRenderer *pr, 2108 static void pr_tile_region_map_orientation(PixbufRenderer *pr,
2109 gint area_x, gint area_y, /* coordinates of the area inside tile */ 2109 gint area_x, gint area_y, /* coordinates of the area inside tile */
2110 gint tile_w, gint tile_h, 2110 gint tile_w, gint tile_h,
2163 break; 2163 break;
2164 default: 2164 default:
2165 /* The other values are out of range */ 2165 /* The other values are out of range */
2166 break; 2166 break;
2167 } 2167 }
2168 // printf("inside y:%d, th:%d, ah:%d ry:%d\n", area_y, tile_h, area_h, *res_x); 2168 // log_printf("inside y:%d, th:%d, ah:%d ry:%d\n", area_y, tile_h, area_h, *res_x);
2169 } 2169 }
2170 2170
2171 static void pr_coords_map_orientation_reverse(PixbufRenderer *pr, 2171 static void pr_coords_map_orientation_reverse(PixbufRenderer *pr,
2172 gint area_x, gint area_y, 2172 gint area_x, gint area_y,
2173 gint tile_w, gint tile_h, 2173 gint tile_w, gint tile_h,
2984 */ 2984 */
2985 2985
2986 static void pr_update_signal(PixbufRenderer *pr) 2986 static void pr_update_signal(PixbufRenderer *pr)
2987 { 2987 {
2988 #if 0 2988 #if 0
2989 printf("FIXME: send updated signal\n"); 2989 log_printf("FIXME: send updated signal\n");
2990 #endif 2990 #endif
2991 DEBUG_1("%s pixbuf renderer updated - started drawing %p", get_exec_time(), pr); 2991 DEBUG_1("%s pixbuf renderer updated - started drawing %p", get_exec_time(), pr);
2992 pr->debug_updated = TRUE; 2992 pr->debug_updated = TRUE;
2993 } 2993 }
2994 2994