chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Steel / h / scroller
1 /*
2  * scroller.h
3  *
4  * Scroll some text in an icon nicely ;-)
5  *
6  * © 1994-1998 Straylight
7  */
8
9 /*----- Licensing note ----------------------------------------------------*
10  *
11  * This file is part of Straylight's Steel library.
12  *
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)
16  * any later version.
17  *
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.
22  *
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.
26  */
27
28 #ifndef __scroller_h
29 #define __scroller_h
30
31 #ifndef __wimp_h
32   #include "wimp.h"
33 #endif
34
35 #ifndef __dbox_h
36   #include "dbox.h"
37 #endif
38
39 typedef struct scroller__str *scroller;
40
41 void scroller_redraw(scroller s,wimp_redrawstr *r);
42
43 scroller scroller_create(dbox d,
44                          dbox_field f,
45                          char *string,
46                          char *initial,
47                          int startDelay);
48
49 void scroller_speed(scroller s,int speed);
50
51 void scroller_go(scroller s);
52
53 void scroller_destroy(scroller s);
54
55 #endif