2006-02-03 22:45:13 -08:00
|
|
|
/*
|
|
|
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
|
|
|
*/
|
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
|
|
|
|
typedef struct _E_Shelf E_Shelf;
|
|
|
|
|
|
|
|
#else
|
|
|
|
#ifndef E_SHELF_H
|
|
|
|
#define E_SHELF_H
|
|
|
|
|
|
|
|
#define E_SHELF_TYPE 0xE0b01024
|
|
|
|
|
|
|
|
struct _E_Shelf
|
|
|
|
{
|
|
|
|
E_Object e_obj_inherit;
|
2006-02-14 05:09:01 -08:00
|
|
|
int x, y, w, h;
|
|
|
|
int layer;
|
2006-02-03 22:45:13 -08:00
|
|
|
E_Popup *popup; /* NULL if its within an existing canvas */
|
2006-02-14 05:09:01 -08:00
|
|
|
E_Zone *zone;
|
2006-02-03 22:45:13 -08:00
|
|
|
Evas_Object *o_base;
|
|
|
|
Ecore_Evas *ee;
|
|
|
|
Evas *evas;
|
|
|
|
E_Gadcon *gadcon;
|
|
|
|
char *name;
|
|
|
|
char *style;
|
|
|
|
/* FIXME: we need a more powerful sizing/placement policy rather than just
|
|
|
|
* x,y, width & height
|
|
|
|
*/
|
|
|
|
};
|
|
|
|
|
|
|
|
EAPI int e_shelf_init(void);
|
|
|
|
EAPI int e_shelf_shutdown(void);
|
2006-02-15 22:32:54 -08:00
|
|
|
EAPI void e_shelf_config_init(void);
|
|
|
|
EAPI E_Shelf *e_shelf_zone_new(E_Zone *zone, char *name, char *style, int popup, int layer);
|
2006-02-03 22:45:13 -08:00
|
|
|
EAPI void e_shelf_populate(E_Shelf *es);
|
2006-02-15 22:32:54 -08:00
|
|
|
EAPI void e_shelf_show(E_Shelf *es);
|
|
|
|
EAPI void e_shelf_hide(E_Shelf *es);
|
2006-02-14 05:09:01 -08:00
|
|
|
EAPI void e_shelf_move(E_Shelf *es, int x, int y);
|
|
|
|
EAPI void e_shelf_resize(E_Shelf *es, int w, int h);
|
|
|
|
EAPI void e_shelf_move_resize(E_Shelf *es, int x, int y, int w, int h);
|
|
|
|
EAPI void e_shelf_layer_set(E_Shelf *es, int layer);
|
|
|
|
EAPI void e_shelf_save(E_Shelf *es);
|
2006-02-15 22:32:54 -08:00
|
|
|
EAPI void e_shelf_unsave(E_Shelf *es);
|
2006-02-14 05:09:01 -08:00
|
|
|
EAPI void e_shelf_orient(E_Shelf *es, E_Gadcon_Orient orient);
|
2006-02-03 22:45:13 -08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|