comparison src/X_supp.c @ 450:a417fd980228

Replace cairo_format_t with mb_img_fmt_t. - Replace all CAIRO_FORAMT_* with MB_IFMT_* - wrap functions return or are argumented with image format.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 05 Aug 2009 15:54:44 +0800
parents 16116d84bc5e
children 5c9e2a8a4bd8
comparison
equal deleted inserted replaced
449:c525edac917e 450:a417fd980228
439 xmb_rt->h = h; 439 xmb_rt->h = h;
440 X_init_connection(display_name, w, h, &xmb_rt->display, 440 X_init_connection(display_name, w, h, &xmb_rt->display,
441 &xmb_rt->visual, &xmb_rt->win); 441 &xmb_rt->visual, &xmb_rt->win);
442 442
443 xmb_rt->surface = 443 xmb_rt->surface =
444 mbe_image_surface_create(CAIRO_FORMAT_ARGB32, w, h); 444 mbe_image_surface_create(MB_IFMT_ARGB32, w, h);
445 445
446 xmb_rt->backend_surface = 446 xmb_rt->backend_surface =
447 mbe_xlib_surface_create(xmb_rt->display, 447 mbe_xlib_surface_create(xmb_rt->display,
448 xmb_rt->win, 448 xmb_rt->win,
449 xmb_rt->visual, 449 xmb_rt->visual,