Ignore:
Timestamp:
Jul 27, 2009, 1:26:15 AM (10 years ago)
Author:
Sam Hocevar
Message:

Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and
caca_wherey(), in order to match the old <conio.h> naming scheme.

File:
1 edited

Legend:

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

    r3586 r3587  
    226226#define CACA_MAGIC_FULLWIDTH 0x000ffffe /**< Used to indicate that the previous character was a fullwidth glyph. */
    227227__extern int caca_gotoxy(caca_canvas_t *, int, int);
    228 __extern int caca_get_cursor_x(caca_canvas_t const *);
    229 __extern int caca_get_cursor_y(caca_canvas_t const *);
     228__extern int caca_wherex(caca_canvas_t const *);
     229__extern int caca_wherey(caca_canvas_t const *);
    230230__extern int caca_put_char(caca_canvas_t *, int, int, uint32_t);
    231231__extern uint32_t caca_get_char(caca_canvas_t const *, int, int);
     
    507507
    508508
    509 /* Aliases from old libcucul functions */
     509/* Aliases from old libcaca and libcucul functions */
    510510__extern int cucul_putchar(caca_canvas_t *, int, int,
    511511                           unsigned long int) CACA_DEPRECATED;
     
    601601
    602602#   if !defined __LIBCACA__
     603#       define caca_get_cursor_x caca_wherex
     604#       define caca_get_cursor_y caca_wherey
    603605#       define cucul_draw_triangle caca_draw_triangle
    604606#       define cucul_draw_thin_triangle caca_draw_thin_triangle
     
    612614#       define cucul_free_font caca_free_font
    613615#       define cucul_gotoxy caca_gotoxy
    614 #       define cucul_get_cursor_x caca_get_cursor_x
    615 #       define cucul_get_cursor_y caca_get_cursor_y
     616#       define cucul_get_cursor_x caca_wherex
     617#       define cucul_get_cursor_y caca_wherey
    616618#       define cucul_put_char caca_put_char
    617619#       define cucul_get_char caca_get_char
Note: See TracChangeset for help on using the changeset viewer.