chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Steel / h / baricon
1 /*
2  * baricon.h
3  *
4  * Icon bar handling stuff
5  *
6  * © 1993-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 __baricon_h
29 #define __baricon_h
30
31 #ifndef __ibicon_h
32   #include "ibicon.h"
33 #endif
34
35 #ifndef __wimp_h
36   #include "wimp.h"
37 #endif
38
39 /*-------------------------------------------------------
40   This is a collection of macros that interface with 
41   ibicon.
42 -------------------------------------------------------*/
43
44 /*
45  * Some types
46  */
47
48 typedef void (*baricon_clickproc)(wimp_i);
49
50 wimp_i baricon(char *,int,baricon_clickproc);
51 wimp_i baricon_left(char *,int,baricon_clickproc);
52 wimp_i baricon_textandsprite(char *,char *,int,int,baricon_clickproc);
53 wimp_i baricon_textandsprite_left(char *,char *,int,int,baricon_clickproc);
54 wimp_i baricon_newsprite(char *);
55 wimp_i baricon_newtext(char *);
56
57 #endif