Преглед изворни кода

* Removed caca_set_{size,width,height} because cucul_set_size ought to be

enough for everyone. Maybe I'll reintroduce caca_set_size sometime in the
    future because it's libcaca who gets the resize events, after all.
tags/v0.99.beta14
Sam Hocevar sam пре 19 година
родитељ
комит
92ef8499f1
2 измењених фајлова са 0 додато и 41 уклоњено
  1. +0
    -3
      src/caca.h
  2. +0
    -38
      src/graphics.c

+ 0
- 3
src/caca.h Прегледај датотеку

@@ -181,9 +181,6 @@ void caca_display(caca_t *kk);
unsigned int caca_get_rendertime(caca_t *kk);
unsigned int caca_get_window_width(caca_t *kk);
unsigned int caca_get_window_height(caca_t *kk);
void caca_set_size(caca_t *kk, unsigned int width, unsigned int height);
void caca_set_width(caca_t *kk, unsigned int width);
void caca_set_height(caca_t *kk, unsigned int height);
int caca_set_window_title(caca_t *kk, char const *);
/* @} */



+ 0
- 38
src/graphics.c Прегледај датотеку

@@ -824,44 +824,6 @@ unsigned int caca_get_window_height(caca_t *kk)
return kk->qq->height * 10;
}


/** \brief Set the size of the display on devices that permit it
*
* This function sets the display width and height, on devices
* that permit it. We're talking here about the size in
* CHARACTERS fo the window, NOT in pixels.
* \param width The width of the window, in CHARACTERS.
* \param heigth The height of the window, in CHARACTERS.
*/
void caca_set_size(caca_t *kk, unsigned int width, unsigned int height)
{
kk->qq->width = width;
kk->qq->height = height;
}



/** \brief Set the width of the window, in characters, if device permits it.
*
* This function sets the width of displayable image, in characters.
* \param width The width of the window, in CHARACTERS.
*/
void caca_set_width(caca_t *kk, unsigned int width)
{
kk->qq->width = width;
}
/** \brief Set the height of the window, in characters, if device permits it.
*
* This function sets the height of displayable image, in characters.
* \param width The width of the window, in CHARACTERS.
*/
void caca_set_height(caca_t *kk, unsigned int height)
{
kk->qq->height = height;
}



/** \brief Set the refresh delay.
*
* This function sets the refresh delay in microseconds. The refresh delay


Loading…
Откажи
Сачувај