4 * Editing icons in tearoff menus
6 * © 1994-1998 Straylight
9 /*----- Licensing note ----------------------------------------------------*
11 * This file is part of Straylight's Glass.
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)
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.
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.
31 /*----- Required headers --------------------------------------------------*/
37 /*----- External functions ------------------------------------------------*/
40 * void tearEdit_open(void)
43 * Opens the edit icon menu, as a submenu if appropriate, otherwise as a
47 void tearEdit_open(void);
50 * void tearEdit_update(glass_windPointer *w,int icon)
53 * Updates the edit icon menu from the specified window and icon. If the
54 * window handle is 0, or the icon is -1 then the menu is made unavailable
55 * (i.e. its items are shaded). Otherwise, the menu is updated to reflect
56 * the state of the icon.
59 * glass_windPointer *w == the window containing the icon to edit
60 * int icon == the icon to be editing in the menu
63 void tearEdit_update(glass_windPointer *w,int icon);
66 * void tearEdit_init(void)
69 * Initialises the tearoff menus for editing icons and starts up the tearoff
73 void tearEdit_init(void);