2006-02-03 22:45:13 -08:00
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
|
|
|
|
typedef struct _E_Shelf E_Shelf;
|
|
|
|
|
|
|
|
#else
|
|
|
|
#ifndef E_SHELF_H
|
|
|
|
#define E_SHELF_H
|
|
|
|
|
2006-09-09 21:51:07 -07:00
|
|
|
#define E_SHELF_TYPE 0xE0b0101e
|
2006-02-03 22:45:13 -08:00
|
|
|
|
|
|
|
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-04 08:42:25 -07:00
|
|
|
int size;
|
2006-04-22 23:56:22 -07:00
|
|
|
E_Config_Dialog *config_dialog;
|
2006-04-23 06:20:57 -07:00
|
|
|
E_Menu *menu;
|
2007-03-02 09:00:20 -08:00
|
|
|
Ecore_Timer *hide_timer;
|
2007-04-06 12:01:29 -07:00
|
|
|
Ecore_Animator *hide_animator;
|
|
|
|
int hide_step;
|
|
|
|
int hidden_state_size;
|
2007-05-07 09:37:54 -07:00
|
|
|
int hide_origin;
|
2007-05-10 01:49:14 -07:00
|
|
|
int interrupted;
|
2007-04-08 02:32:48 -07:00
|
|
|
float instant_delay;
|
|
|
|
Ecore_Timer *instant_timer;
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *handlers;
|
2009-03-23 05:14:31 -07:00
|
|
|
unsigned char fit_along : 1;
|
|
|
|
unsigned char fit_size : 1;
|
|
|
|
unsigned char hidden : 1;
|
|
|
|
unsigned char toggle : 1;
|
|
|
|
unsigned char edge : 1;
|
|
|
|
unsigned char urgent_show : 1;
|
2009-01-24 06:09:37 -08:00
|
|
|
unsigned int locked;
|
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);
|
2008-10-22 04:49:33 -07:00
|
|
|
EAPI Eina_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-05-04 21:47:57 -07:00
|
|
|
EAPI void e_shelf_zone_move_resize_handle(E_Zone *zone);
|
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);
|
2007-11-23 01:18:21 -08:00
|
|
|
EAPI void e_shelf_locked_set(E_Shelf *es, int lock);
|
2007-04-06 13:23:45 -07:00
|
|
|
EAPI void e_shelf_toggle(E_Shelf *es, int show);
|
2009-03-23 05:14:31 -07:00
|
|
|
EAPI void e_shelf_urgent_show(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);
|
2010-09-06 10:38:18 -07:00
|
|
|
EAPI const char *e_shelf_orient_string_get(E_Shelf *es);
|
2006-04-22 23:56:22 -07:00
|
|
|
EAPI void e_shelf_position_calc(E_Shelf *es);
|
2006-07-26 23:22:19 -07:00
|
|
|
EAPI void e_shelf_style_set(E_Shelf *es, const char *style);
|
|
|
|
EAPI void e_shelf_popup_set(E_Shelf *es, int popup);
|
2007-10-18 02:06:30 -07:00
|
|
|
EAPI E_Shelf *e_shelf_config_new(E_Zone *zone, E_Config_Shelf *cf_es);
|
2006-04-22 23:56:22 -07:00
|
|
|
|
2006-02-03 22:45:13 -08:00
|
|
|
#endif
|
|
|
|
#endif
|