home *** CD-ROM | disk | FTP | other *** search
- /*
- * m_text_cursor.c
- *
- * Public Domain (p) March 1990 By Rodney Loos
- * Syntax modified by S. Sampson
- */
-
- #include "mouse.h"
-
- /*
- * Set cursor mode. Set cursor to text or software
- */
-
- void m_text_cursor(int cursor_type, int cursor_attr1, int cursor_attr2)
- {
- __Mpar->m1 = 10;
- __Mpar->m2 = cursor_type; /* if 0, use software cursor; 1, use hardware cursor */
- __Mpar->m3 = cursor_attr1;/* if software cursor, defines screen mask */
- /* if hardware cursor, defines scan line start */
- __Mpar->m4 = cursor_attr2;/* if software cursor, defines cursor mask */
- /* if hardware cursor, defines scan line stop */
- mouse(__Mpar);
- }