Changeset 534


Ignore:
Timestamp:
Mar 6, 2006, 3:17:42 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • 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.
Location:
libcaca/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.h

    r527 r534  
    182182unsigned int caca_get_window_width(caca_t *kk);
    183183unsigned int caca_get_window_height(caca_t *kk);
    184 void caca_set_size(caca_t *kk, unsigned int width, unsigned int height);
    185 void caca_set_width(caca_t *kk, unsigned int width);
    186 void caca_set_height(caca_t *kk, unsigned int height);
    187184int caca_set_window_title(caca_t *kk, char const *);
    188185/*  @} */
  • libcaca/trunk/src/graphics.c

    r533 r534  
    825825}
    826826
    827 
    828 /** \brief Set the size of the display on devices that permit it
    829  *
    830  *  This function sets the display width and height, on devices
    831  *  that permit it. We're talking here about the size in
    832  *  CHARACTERS fo the window, NOT in pixels.
    833  *  \param width The width of the window, in CHARACTERS.
    834  *  \param heigth The height of the window, in CHARACTERS.
    835  */
    836 void caca_set_size(caca_t *kk, unsigned int width, unsigned int height)
    837 {
    838     kk->qq->width = width;
    839     kk->qq->height = height;
    840 }
    841 
    842 
    843 
    844 /** \brief Set the width of the window, in characters, if device permits it.
    845  *
    846  *  This function sets the width of displayable image, in characters.
    847  *  \param width The width of the window, in CHARACTERS.
    848  */
    849 void caca_set_width(caca_t *kk, unsigned int width)
    850 {
    851     kk->qq->width = width;
    852 }
    853 /** \brief Set the height of the window, in characters, if device permits it.
    854  *
    855  *  This function sets the height of displayable image, in characters.
    856  *  \param width The width of the window, in CHARACTERS.
    857  */
    858 void caca_set_height(caca_t *kk, unsigned int height)
    859 {
    860     kk->qq->height = height;
    861 }
    862 
    863 
    864 
    865827/** \brief Set the refresh delay.
    866828 *
Note: See TracChangeset for help on using the changeset viewer.