diff --git a/caca/driver_conio.c b/caca/driver_conio.c index b8acca8..f01d57f 100644 --- a/caca/driver_conio.c +++ b/caca/driver_conio.c @@ -58,8 +58,8 @@ static int conio_init_graphics(caca_t *kk) # else /* FIXME */ # endif - cucul_set_size(kk->qq, kk->drv.p->ti.screenwidth, - kk->drv.p->ti.screenheight); + _cucul_set_size(kk->qq, kk->drv.p->ti.screenwidth, + kk->drv.p->ti.screenheight); return 0; } diff --git a/caca/driver_gl.c b/caca/driver_gl.c index a22df36..bf0fc57 100644 --- a/caca/driver_gl.c +++ b/caca/driver_gl.c @@ -108,7 +108,7 @@ static int gl_init_graphics(caca_t *kk) sscanf(geometry, "%ux%u", &width, &height); if(width && height) - cucul_set_size(kk->qq, width, height); + _cucul_set_size(kk->qq, width, height); kk->drv.p->font_width = 9; kk->drv.p->font_height = 15; diff --git a/caca/driver_ncurses.c b/caca/driver_ncurses.c index c5e385e..1d01b8b 100644 --- a/caca/driver_ncurses.c +++ b/caca/driver_ncurses.c @@ -148,7 +148,7 @@ static int ncurses_init_graphics(caca_t *kk) } } - cucul_set_size(kk->qq, COLS, LINES); + _cucul_set_size(kk->qq, COLS, LINES); return 0; } diff --git a/caca/driver_network.c b/caca/driver_network.c index c73043d..b20e713 100644 --- a/caca/driver_network.c +++ b/caca/driver_network.c @@ -10,7 +10,7 @@ */ /** \file driver_network.c - * \version \$Id: driver_gl.c 330 2006-03-07 09:17:35Z sam $ + * \version \$Id$ * \author Jean-Yves Lamoureux * \brief Network driver * @@ -89,7 +89,7 @@ static int network_init_graphics(caca_t *kk) - cucul_set_size(kk->qq, kk->drv.p->width, kk->drv.p->height); + _cucul_set_size(kk->qq, kk->drv.p->width, kk->drv.p->height); printf("socket\n"); diff --git a/caca/driver_win32.c b/caca/driver_win32.c index cdd60df..97cffec 100644 --- a/caca/driver_win32.c +++ b/caca/driver_win32.c @@ -122,8 +122,8 @@ static int win32_init_graphics(caca_t *kk) /* Sample code to get the biggest possible window */ //size = GetLargestConsoleWindowSize(kk->drv.p->hout); - cucul_set_size(kk->qq, csbi.srWindow.Right - csbi.srWindow.Left + 1, - csbi.srWindow.Bottom - csbi.srWindow.Top + 1); + _cucul_set_size(kk->qq, csbi.srWindow.Right - csbi.srWindow.Left + 1, + csbi.srWindow.Bottom - csbi.srWindow.Top + 1); size.X = kk->qq->width; size.Y = kk->qq->height; SetConsoleScreenBufferSize(kk->drv.p->front, size); diff --git a/caca/driver_x11.c b/caca/driver_x11.c index 12e52d0..beabd51 100644 --- a/caca/driver_x11.c +++ b/caca/driver_x11.c @@ -97,7 +97,7 @@ static int x11_init_graphics(caca_t *kk) sscanf(geometry, "%ux%u", &width, &height); if(width && height) - cucul_set_size(kk->qq, width, height); + _cucul_set_size(kk->qq, width, height); kk->drv.p->dpy = XOpenDisplay(NULL); if(kk->drv.p->dpy == NULL) diff --git a/caca/graphics.c b/caca/graphics.c index c0b5583..6479e73 100644 --- a/caca/graphics.c +++ b/caca/graphics.c @@ -46,8 +46,8 @@ int caca_set_window_title(caca_t *kk, char const *title) * * If libcaca runs in a window, get the usable window width. This value can * be used for aspect ratio calculation. If libcaca does not run in a window - * or if there is no way to know the font size, assume a 6x10 font is being - * used. Note that the units are not necessarily pixels. + * or if there is no way to know the font size, most drivers will assume a + * 6x10 font is being used. Note that the units are not necessarily pixels. * * \return The window width. */