chiark / gitweb /
Initial revision
[ssr] / StraySrc / Glass / !Glass / h / editIcon
1 /*
2  * editIcon.c
3  *
4  * Edit icon dialigue box
5  *
6  * © 1994-1998 Straylight
7  */
8
9 /*----- Licensing note ----------------------------------------------------*
10  *
11  * This file is part of Straylight's Glass.
12  *
13  * Glass 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  * Glass 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 Glass.  If not, write to the Free Software Foundation,
25  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26  */
27
28 #ifndef __editIcon_h
29 #define __editIcon_h
30
31 /*----- Required header files ---------------------------------------------*/
32
33 #ifndef __gStruct_h
34   #include "gStruct.h"
35 #endif
36
37 /*----- External routines -------------------------------------------------*/
38
39 /*
40  * void editIcon_renumber(glass_windPointer *w,int icon,int new)
41  *
42  * Use
43  *  Informs an edit dialogue that an icon has been renumbered.
44  *
45  * Parameters
46  *  glass_windPointer *w == the window containing the icon
47  *  int icon == the icon number
48  *  int new == the new number for the icon
49  */
50
51 void editIcon_renumber(glass_windPointer *w,int icon,int new);
52
53 /*
54  * void editIcon_iconMoved(glass_windPointer *w,int icon)
55  *
56  * Use
57  *  Informs an edit dialogue that an icon has been moved.
58  *
59  * Parameters
60  *  glass_windPointer *w == the window containing the icon
61  *  int icon == the icon number.  This may not be the same during the edit...
62  */
63
64 void editIcon_iconMoved(glass_windPointer *w,int icon);
65
66 /*
67  * void editIcon_readData(glass_windPointer *w,int icon)
68  *
69  * Use
70  *  Forces a re-read of the icon data for the given icon edit
71  *
72  * Parameters
73  *  glass_windPointer *w == the window containing the icon
74  *  int icon == the icon number.  This may not be the same during the edit...
75  */
76
77 void editIcon_readData(glass_windPointer *w,int icon);
78
79 /*
80  * void editIcon_close(glass_windPointer *w,int icon)
81  *
82  * Use
83  *  Closes an edit window
84  *
85  * Parameters
86  *  glass_windPointer *w == the window containing the icon
87  *  int icon == the icon number.  This may not be the same during the edit...
88  */
89
90 void editIcon_close(glass_windPointer *w,int icon);
91
92 /*
93  * void editIcon(glass_windPointer *w,int icon)
94  *
95  * Use
96  *  Edits the given icon in a dialogue box.
97  *
98  * Parameters
99  *  glass_windPointer *w == the window containing the icon
100  *  int icon == the icon number.  This may not be the same during the edit...
101  */
102
103 void editIcon(glass_windPointer *w,int icon);
104
105 #endif