1 #ifndef E_WINLIST_H
2 #define E_WINLIST_H
3 
4 int e_winlist_init(void);
5 int e_winlist_shutdown(void);
6 
7 typedef enum _E_Winlist_Filter {
8   E_WINLIST_FILTER_NONE = 0,
9   E_WINLIST_FILTER_CLASS_WINDOWS = 1, /* all windows from the same class */
10   E_WINLIST_FILTER_CLASSES = 2 /* loop through classes (last selected win) */
11 } E_Winlist_Filter;
12 
13 typedef enum E_Winlist_Activate_Type
14 {
15    E_WINLIST_ACTIVATE_TYPE_NONE,
16    E_WINLIST_ACTIVATE_TYPE_KEY,
17    E_WINLIST_ACTIVATE_TYPE_MOUSE,
18    E_WINLIST_ACTIVATE_TYPE_EDGE,
19 } E_Winlist_Activate_Type;
20 
21 int  e_winlist_show(E_Zone *zone, E_Winlist_Filter filter);
22 void e_winlist_hide(void);
23 void e_winlist_next(void);
24 void e_winlist_prev(void);
25 void e_winlist_left(E_Zone *zone);
26 void e_winlist_right(E_Zone *zone);
27 void e_winlist_down(E_Zone *zone);
28 void e_winlist_up(E_Zone *zone);
29 void e_winlist_modifiers_set(int mod, E_Winlist_Activate_Type type);
30 void e_winlist_direction_select(E_Zone *zone, int dir);
31 
32 #endif
33