comparison src/X_supp.c @ 346:b391722bf20e

sh_image_t::img_data is managed by paint_image_t. - sh_image_t should not try to free it. - call sh_text_P_generate_layout() in sh_text_transform() - remove calling from other functions.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 08 Mar 2009 14:44:41 +0800
parents cd6af7da32c9
children 892f4efe2e48
comparison
equal deleted inserted replaced
345:d04085404583 346:b391722bf20e
452 xmb_rt->rdman->w = w; 452 xmb_rt->rdman->w = w;
453 xmb_rt->rdman->h = h; 453 xmb_rt->rdman->h = h;
454 454
455 xmb_rt->tman = mb_tman_new(); 455 xmb_rt->tman = mb_tman_new();
456 456
457 img_ldr = simple_mb_img_ldr_new("./"); 457 img_ldr = simple_mb_img_ldr_new("");
458 xmb_rt->img_ldr = img_ldr; 458 xmb_rt->img_ldr = img_ldr;
459 rdman_set_img_ldr(xmb_rt->rdman, img_ldr); 459 rdman_set_img_ldr(xmb_rt->rdman, img_ldr);
460 460
461 #ifndef ONLY_MOUSE_MOVE_RAW 461 #ifndef ONLY_MOUSE_MOVE_RAW
462 xmb_rt->last = NULL; 462 xmb_rt->last = NULL;