2005-01-09 11:02:18 -08:00
|
|
|
#ifndef E_MOD_MAIN_H
|
|
|
|
#define E_MOD_MAIN_H
|
|
|
|
|
2006-04-20 04:30:25 -07:00
|
|
|
typedef struct _Config_Item Config_Item;
|
2020-07-07 15:34:27 -07:00
|
|
|
typedef struct _Config Config;
|
|
|
|
struct _Config
|
|
|
|
{
|
|
|
|
unsigned int popup;
|
|
|
|
double popup_speed;
|
|
|
|
unsigned int popup_urgent;
|
|
|
|
unsigned int popup_urgent_stick;
|
|
|
|
unsigned int popup_urgent_focus;
|
|
|
|
double popup_urgent_speed;
|
|
|
|
unsigned int show_desk_names;
|
|
|
|
int popup_act_height;
|
|
|
|
int popup_height;
|
|
|
|
unsigned int drag_resist;
|
|
|
|
unsigned int btn_drag;
|
|
|
|
unsigned int btn_noplace;
|
|
|
|
unsigned int btn_desk;
|
|
|
|
unsigned int flip_desk;
|
|
|
|
unsigned int plain;
|
|
|
|
unsigned int permanent_plain;
|
|
|
|
};
|
2005-02-09 04:16:21 -08:00
|
|
|
|
|
|
|
#define PAGER_RESIZE_NONE 0
|
|
|
|
#define PAGER_RESIZE_HORZ 1
|
|
|
|
#define PAGER_RESIZE_VERT 2
|
|
|
|
#define PAGER_RESIZE_BOTH 3
|
2005-01-09 11:02:18 -08:00
|
|
|
|
2009-04-28 08:29:56 -07:00
|
|
|
#define PAGER_DESKNAME_NONE 0
|
|
|
|
#define PAGER_DESKNAME_TOP 1
|
2005-09-05 16:14:58 -07:00
|
|
|
#define PAGER_DESKNAME_BOTTOM 2
|
2009-04-28 08:29:56 -07:00
|
|
|
#define PAGER_DESKNAME_LEFT 3
|
|
|
|
#define PAGER_DESKNAME_RIGHT 4
|
2005-09-05 16:14:58 -07:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API extern E_Module_Api e_modapi;
|
2005-09-23 10:13:47 -07:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API void *e_modapi_init(E_Module *m);
|
|
|
|
E_API int e_modapi_shutdown(E_Module *m);
|
|
|
|
E_API int e_modapi_save(E_Module *m);
|
2005-01-09 11:02:18 -08:00
|
|
|
|
2020-07-07 15:34:27 -07:00
|
|
|
EINTERN void _pager_cb_config_updated(void);
|
|
|
|
|
|
|
|
EINTERN extern Config *pager_config;
|
|
|
|
|
2014-01-27 05:34:46 -08:00
|
|
|
EINTERN void _config_pager_module(Config_Item *ci);
|
2016-09-21 09:34:43 -07:00
|
|
|
|
|
|
|
extern E_Module *module;
|
|
|
|
extern E_Config_Dialog *config_dialog;
|
|
|
|
extern Eina_List *instances, *shandlers;
|
2005-12-16 12:57:24 -08:00
|
|
|
|
2012-01-19 15:25:32 -08:00
|
|
|
/**
|
|
|
|
* @addtogroup Optional_Gadgets
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @defgroup Module_Pager Virtual Desktop Pager
|
|
|
|
*
|
|
|
|
* Shows the grid of virtual desktops and allows changing between
|
|
|
|
* them.
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
2005-01-09 11:02:18 -08:00
|
|
|
#endif
|