cvsimport
[fvwm.git] / modules / FvwmIconMan / xmanager.h
blob37c0e1f49581056e49dfa5347f74748a1772937d
1 /* -*-c-*- */
2 #ifndef IN_XMANAGER_H
3 #define IN_XMANAGER_H
5 #define DEFAULT_BUTTON_WIDTH 200
6 #define DEFAULT_BUTTON_HEIGHT 17
7 #define DEFAULT_NUM_COLS 1
8 #define DEFAULT_NUM_ROWS 0
10 extern void draw_managers(void);
11 extern void draw_manager(WinManager *man);
12 extern Bool draw_transparent_buttons(
13 WinManager *man, Bool only_moved, Bool clear_only);
15 extern int which_box(WinManager *man, int x, int y);
16 extern Button *xy_to_button(WinManager *man, int x, int y);
18 extern void delete_windows_button(WinData *win);
19 extern void resort_windows_button(WinData *win);
21 extern void size_manager(WinManager *man);
22 extern void init_button_array(ButtonArray *array);
23 extern void set_shape(WinManager *man);
24 extern void draw_added_icon(WinManager *man);
25 extern void draw_deleted_icon(WinManager *man);
26 extern void move_highlight(WinManager *man, Button *button);
27 extern void set_win_picture(
28 WinData *win, Pixmap picture, Pixmap mask, Pixmap alpha,
29 unsigned int depth, unsigned int width, unsigned int height);
30 extern void set_win_iconified(WinData *win, int iconified);
31 extern void set_win_state(WinData *win, int state);
32 extern void add_win_state(WinData *win, int flag);
33 extern void del_win_state(WinData *win, int flag);
34 extern void set_win_displaystring(WinData *win);
35 extern void set_manager_width(WinManager *man, int width);
36 extern int change_windows_manager(WinData *win);
37 extern void check_in_window(WinData *win);
38 extern void set_manager_window_mapping(WinManager *man, int flag);
39 extern void man_exposed(WinManager *man, XEvent *theEvent);
40 extern void force_manager_redraw(WinManager *man);
42 extern Button *button_above(WinManager *man, Button *b);
43 extern Button *button_below(WinManager *man, Button *b);
44 extern Button *button_right(WinManager *man, Button *b);
45 extern Button *button_left(WinManager *man, Button *b);
46 extern Button *button_next(WinManager *man, Button *b);
47 extern Button *button_prev(WinManager *man, Button *b);
49 extern void check_managers_consistency(void);
51 void tips_on(WinManager *man, Button *b);
52 void tips_cancel(WinManager *man);
53 void tips_update_label(WinManager *man);
55 #endif /* IN_XMANAGER_H */