Ignore:
Timestamp:
07/27/09 01:26:15 (4 years ago)
Author:
sam
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/string.c

    r3586 r3587  
    6969 *  \return The cursor's X coordinate. 
    7070 */ 
    71 int caca_get_cursor_x(caca_canvas_t const *cv) 
     71int caca_wherex(caca_canvas_t const *cv) 
    7272{ 
    7373    return cv->frames[cv->frame].x; 
     
    8383 *  \return The cursor's Y coordinate. 
    8484 */ 
    85 int caca_get_cursor_y(caca_canvas_t const *cv) 
     85int caca_wherey(caca_canvas_t const *cv) 
    8686{ 
    8787    return cv->frames[cv->frame].y; 
     
    583583 
    584584int cucul_gotoxy(cucul_canvas_t *, int, int) CACA_ALIAS(caca_gotoxy); 
    585 int cucul_get_cursor_x(cucul_canvas_t const *) CACA_ALIAS(caca_get_cursor_x); 
    586 int cucul_get_cursor_y(cucul_canvas_t const *) CACA_ALIAS(caca_get_cursor_y); 
     585int cucul_get_cursor_x(cucul_canvas_t const *) CACA_ALIAS(caca_wherex); 
     586int cucul_get_cursor_y(cucul_canvas_t const *) CACA_ALIAS(caca_wherey); 
     587int caca_get_cursor_x(caca_canvas_t const *) CACA_ALIAS(caca_wherex); 
     588int caca_get_cursor_y(caca_canvas_t const *) CACA_ALIAS(caca_wherey); 
    587589int cucul_put_char(cucul_canvas_t *, int, int, uint32_t) 
    588590         CACA_ALIAS(caca_put_char); 
Note: See TracChangeset for help on using the changeset viewer.