Changeset 689 for libcaca/trunk/caca/graphics.c
- Timestamp:
- Mar 24, 2006, 5:51:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/graphics.c
r688 r689 144 144 } 145 145 146 /** \brief Show cursor on capable drivers146 /** \brief Show or hide the mouse pointer. 147 147 * 148 * This function shows the cursor on drivers permitting it. 148 * This function shows or hides the mouse pointer, for devices that 149 * support it. 149 150 * 151 * \param flag 0 hides the pointer, 1 shows the system's default pointer 152 * (usually an arrow). Other values are reserved for future use. 150 153 */ 151 void caca_s how_cursor(caca_t *kk)154 void caca_set_mouse(caca_t *kk, int flag) 152 155 { 153 if(kk->drv.s how_cursor)154 kk->drv.show_cursor(kk);156 if(kk->drv.set_mouse) 157 kk->drv.set_mouse(kk, flag); 155 158 } 156 157 /** \brief Hide cursor on capable drivers158 *159 * This function hides the cursor on drivers permitting it.160 *161 */162 void caca_hide_cursor(caca_t *kk)163 {164 if(kk->drv.hide_cursor)165 kk->drv.hide_cursor(kk);166 }167 168 159 169 160 /*
Note: See TracChangeset
for help on using the changeset viewer.