4 * Provides a bit more control than the original version
6 * © 1991-1998 Straylight
9 /*----- Licensing note ----------------------------------------------------*
11 * This file is part of Straylight's Steel library.
13 * Steel is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2, or (at your option)
18 * Steel is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with Steel. If not, write to the Free Software Foundation,
25 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 * This is a strcuture type only defined here for the use of the compiler to
33 * get the size right. You should not rely on any part of the definition of
34 * this structure, or even that it will remain a structure.
45 * visdelay_init() is one of the biggest wastes of space in RISC_OSlib.
46 * Well, here we rectify the problem. In no versions of visdelay included
47 * with ArmenLib will a call to visdelay_init() be necessary.
50 #define visdelay_init(x) ((void)0)
53 * void visdelay_begin(void)
56 * Starts the hourglass.
59 void visdelay_begin(void);
62 * void visdelay_end(void)
65 * Turns off the hourglass. Note that calls to visdelay_begin() and
66 * visdelay_end() must be matched.
69 void visdelay_end(void);
72 * void visdelay_percent(int percent)
75 * Puts up the little percentage indicator on the hourglass.
78 * int percent == the percentage number to indicate.
81 void visdelay_percent(int percent);
84 * visdelay_state visdelay_suspend(void)
87 * Turns the hourglass right off. It also returns information about the
88 * current state of the hourglass so that it can be resumed.
91 * State information recorded in an undefined manner.
94 visdelay_state visdelay_suspend(void);
97 * void visdelay_resume(visdelay_state state)
100 * Returns the hourglass to the state it was in when the last
101 * visdelay_suspend() call was made.
104 * visdelay_state state == the hourglass state as returned by
105 * visdelay_suspend().
108 void visdelay_resume(visdelay_state state);