aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/pager/gadget/pager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/pager/gadget/pager.h')
-rw-r--r--src/modules/pager/gadget/pager.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/modules/pager/gadget/pager.h b/src/modules/pager/gadget/pager.h
new file mode 100644
index 000000000..b75c53bb7
--- /dev/null
+++ b/src/modules/pager/gadget/pager.h
@@ -0,0 +1,50 @@
+#ifndef PAGER_H
+#define PAGER_H
+
+#include "e.h"
+
+E_API void *e_modapi_gadget_init(E_Module *m);
+E_API int e_modapi_gadget_shutdown(E_Module *m);
+E_API int e_modapi_gadget_save(E_Module *m);
+
+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;
+};
+
+EINTERN Evas_Object *pager_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient);
+EINTERN Evas_Object *config_pager(E_Zone *zone);
+EINTERN void pager_init(void);
+EINTERN void _pager_cb_config_gadget_updated(void);
+EINTERN void _pager_cb_config_updated(void);
+
+extern Config *pager_config;
+extern E_Module *gmodule;
+extern Evas_Object *cfg_dialog;
+extern Eina_List *ginstances, *ghandlers;
+/**
+ * @addtogroup Optional_Gadgets
+ * @{
+ *
+ * @defgroup Module_Pager Virtual Desktop Pager
+ *
+ * Shows the grid of virtual desktops and allows changing between
+ * them.
+ *
+ * @}
+ */
+#endif