40 lines
1.0 KiB
C
40 lines
1.0 KiB
C
#ifndef E_WINLIST_H
|
|
#define E_WINLIST_H
|
|
|
|
int e_winlist_init(void);
|
|
int e_winlist_shutdown(void);
|
|
|
|
typedef enum _E_Winlist_Filter
|
|
{
|
|
E_WINLIST_FILTER_NONE = 0,
|
|
E_WINLIST_FILTER_CLASS_WINDOWS = 1, /* all windows from the same class */
|
|
E_WINLIST_FILTER_CLASSES = 2 /* loop through classes (last selected win) */
|
|
} E_Winlist_Filter;
|
|
|
|
typedef enum E_Winlist_Activate_Type
|
|
{
|
|
E_WINLIST_ACTIVATE_TYPE_NONE,
|
|
E_WINLIST_ACTIVATE_TYPE_KEY,
|
|
E_WINLIST_ACTIVATE_TYPE_MOUSE,
|
|
E_WINLIST_ACTIVATE_TYPE_EDGE,
|
|
} E_Winlist_Activate_Type;
|
|
|
|
typedef enum E_Winlist_Mode
|
|
{
|
|
E_WINLIST_MODE_LIST,
|
|
E_WINLIST_MODE_LARGE
|
|
} E_Winlist_Mode;
|
|
|
|
int e_winlist_show(E_Zone *zone, E_Winlist_Filter filter);
|
|
void e_winlist_hide(void);
|
|
void e_winlist_next(void);
|
|
void e_winlist_prev(void);
|
|
void e_winlist_left(E_Zone *zone);
|
|
void e_winlist_right(E_Zone *zone);
|
|
void e_winlist_down(E_Zone *zone);
|
|
void e_winlist_up(E_Zone *zone);
|
|
void e_winlist_modifiers_set(int mod, E_Winlist_Activate_Type type);
|
|
void e_winlist_direction_select(E_Zone *zone, int dir);
|
|
|
|
#endif
|