2
* FIG : Facility for Interactive Generation of figures
3
* Copyright (c) 1985 by Supoj Sutanthavibul
5
* "Permission to use, copy, modify, distribute, and sell this software and its
6
* documentation for any purpose is hereby granted without fee, provided that
7
* the above copyright notice appear in all copies and that both the copyright
8
* notice and this permission notice appear in supporting documentation.
9
* No representations are made about the suitability of this software for
10
* any purpose. It is provided "as is" without express or implied warranty."
15
#include "wf_resources.h"
17
Cursor cur_wf_cursor,arrow_wf_cursor, wait_wf_cursor;
21
register Display *d = tool_d;
22
cur_wf_cursor = arrow_wf_cursor; /* current cursor */
23
arrow_wf_cursor = XCreateFontCursor(d, XC_left_ptr);
24
wait_wf_cursor = XCreateFontCursor(d, XC_watch);
27
void reset_wf_cursor()
29
XDefineCursor(tool_d, tool_win, cur_wf_cursor);
32
void set_temp_wf_cursor(cursor)
35
XDefineCursor(tool_d, tool_win, cursor);
38
void set_wf_cursor(cursor)
41
cur_wf_cursor = cursor;
42
XDefineCursor(tool_d, tool_win, cursor);