earlybrowserreborn - Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 roytam 1 /*
2  * cursor.h
3  *
4  * Routines to switch the mouse cursor.
5  *
6  */
7 /*
8  * Copyright 1993 O'Reilly & Associates. All rights reserved.
9  *
10  * Permission to use, copy, and/or distribute for any purpose and
11  * without fee is hereby granted, provided that both the above copyright
12  * notice and this permission notice appear in all copies and derived works.
13  * Fees for distribution or use of this software or derived works may only
14  * be charged with express written permission of the copyright holder.
15  * This software is provided ``as is'' without express or implied warranty.
16  */
17  
18 #ifndef _CURSOR_H_
19 #define _CURSOR_H_
20  
21  
22 extern Cursor busyCursor;
23  
24  
25 #define setBusyCursor(dvi)                         \
26     XDefineCursor(XtDisplay((dvi)->topMostWidget),   \
27                   XtWindow((dvi)->topMostWidget),    \
28                   busyCursor)
29  
30 #define setIdleCursor(dvi)                         \
31     XUndefineCursor(XtDisplay((dvi)->topMostWidget), \
32                     XtWindow((dvi)->topMostWidget))
33  
34  
35 void initCursors();
36 void busyCursorMH();
37 void idleCursorMH();
38  
39  
40 #endif _CURSOR_H_