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-04-22 23:56:22 -07:00
|
|
|
int id;
|
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;
|
2006-04-06 00:26:11 -07:00
|
|
|
Evas_Object *o_event;
|
2006-02-03 22:45:13 -08:00
|
|
|
Ecore_Evas *ee;
|
|
|
|
Evas *evas;
|
|
|
|
E_Gadcon *gadcon;
|
2006-03-02 04:03:48 -08:00
|
|
|
const char *name;
|
|
|
|
const char *style;
|
2006-02-16 01:27:37 -08:00
|
|
|
E_Config_Shelf *cfg;
|
2006-04-03 07:01:00 -07:00
|
|
|
unsigned char fit_along : 1;
|
|
|
|
unsigned char fit_size : 1;
|
2006-04-04 08:42:25 -07:00
|
|
|
int size;
|
2006-04-22 23:56:22 -07:00
|
|
|
E_Config_Dialog *config_dialog;
|
2006-02-03 22:45:13 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
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);
|
2006-04-20 04:30:25 -07:00
|
|
|
EAPI Evas_List *e_shelf_list(void);
|
2006-04-22 23:56:22 -07:00
|
|
|
EAPI E_Shelf *e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, int popup, int layer, int id);
|
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-04-22 23:56:22 -07:00
|
|
|
EAPI void e_shelf_position_calc(E_Shelf *es);
|
|
|
|
|
2006-02-03 22:45:13 -08:00
|
|
|
#endif
|
|
|
|
#endif
|