Ignore:
Timestamp:
Mar 24, 2006, 4:00:47 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added caca_show/hide_cursor, and corresponding GL binding
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/graphics.c

    r672 r686  
    144144}
    145145
     146/** \brief Show cursor on capable drivers
     147 *
     148 *  This function shows the cursor on drivers permitting it.
     149 *
     150 */
     151void caca_show_cursor(caca_t *kk)
     152{
     153    if(kk->drv.show_cursor)
     154        kk->drv.show_cursor(kk);
     155}
     156
     157/** \brief Hide cursor on capable drivers
     158 *
     159 *  This function hides the cursor on drivers permitting it.
     160 *
     161 */
     162void caca_hide_cursor(caca_t *kk)
     163{
     164    if(kk->drv.show_cursor)
     165        kk->drv.show_cursor(kk);
     166}
     167
     168
    146169/*
    147170 * XXX: following functions are local
Note: See TracChangeset for help on using the changeset viewer.