adds 1 pager per zone, saves the gadman clients independantly
Looks only at the zone size, rather than the whole viewport
issues with :
a) saving x position on zone > 1
b) adding windows to zone > 1


SVN revision: 13173
This commit is contained in:
handyande 2005-02-01 18:21:46 +00:00 committed by handyande
parent 663f446165
commit 5d0fe52e1a
2 changed files with 491 additions and 549 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,18 +13,21 @@ struct _Config
struct _Pager struct _Pager
{ {
Evas_List *managers; E_Zone *zone;
E_Menu *config_menu;
E_Container *con;
Evas *evas;
Evas_Object *base, *screen;
Evas_List *desks; Evas_List *desks;
E_Menu *config_menu;
Evas *evas;
Evas_Object *base, *screen;
/* E_Config_DD *conf_edd;*/ /* E_Config_DD *conf_edd;*/
Config *conf; Config *conf;
Evas_Coord fx, fy, fw, fh; Evas_Coord fx, fy, fw, fh;
E_Gadman_Client *gmc; E_Gadman_Client *gmc;
/* Current nr. of desktops */
int xnum, ynum;
Ecore_Event_Handler *ev_handler_border_resize; Ecore_Event_Handler *ev_handler_border_resize;
Ecore_Event_Handler *ev_handler_border_move; Ecore_Event_Handler *ev_handler_border_move;
@ -38,27 +41,29 @@ struct _Pager
struct _Pager_Desk struct _Pager_Desk
{ {
E_Desk *desk;
Pager *owner;
Evas_List *wins; Evas_List *wins;
Evas_Object *obj; Evas_Object *obj;
int xpos, ypos; int xpos, ypos;
E_Desk *desk; int current : 1;
int current:1;
}; };
struct _Pager_Win struct _Pager_Win
{ {
E_Border *border;
Pager_Desk *owner;
Evas_Object *obj; Evas_Object *obj;
Evas_Object *icon; Evas_Object *icon;
Pager_Desk *owner;
E_Border *border;
}; };
EAPI void *init (E_Module *m); EAPI void *init (E_Module *module);
EAPI int shutdown (E_Module *m); EAPI int shutdown (E_Module *module);
EAPI int save (E_Module *m); EAPI int save (E_Module *module);
EAPI int info (E_Module *m); EAPI int info (E_Module *module);
EAPI int about (E_Module *m); EAPI int about (E_Module *module);
#endif #endif