add tests for menu and menustyle commands.
[fvwm.git] / fvwm / icons.h
blobb34da69af76000b936b8939ad8e5c4ab10ebac30
1 /* This program is free software; you can redistribute it and/or modify
2 * it under the terms of the GNU General Public License as published by
3 * the Free Software Foundation; either version 2 of the License, or
4 * (at your option) any later version.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 #ifndef _ICONS_
17 #define _ICONS_
19 #ifdef NO_ICONS
20 #define ICON_HEIGHT(t) 1
21 #else
22 #define ICON_HEIGHT(t) ((t)->icon_font.height + 6)
23 #endif
25 void AutoPlaceIcon(FvwmWindow *);
26 void RedoIconName(FvwmWindow *);
27 void DrawIconWindow(FvwmWindow *);
28 void CreateIconWindow(FvwmWindow *tmp_win, int def_x, int def_y);
29 void GetIconWindow(FvwmWindow *tmp_win);
30 void GetIconBitmap(FvwmWindow *tmp_win);
31 void Iconify(FvwmWindow *, int, int);
32 void DeIconify(FvwmWindow *);
33 void SetMapStateProp(FvwmWindow *, int);
34 void iconify_function(F_CMD_ARGS);
37 #endif /* _ICONS_ */