2007-08-20 11:50:20 -07:00
|
|
|
/*
|
|
|
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
|
|
|
*/
|
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
|
|
|
|
typedef struct _E_Gadcon_Popup E_Gadcon_Popup;
|
|
|
|
|
|
|
|
#else
|
|
|
|
#ifndef E_GADCON_POPUP_H
|
|
|
|
#define E_GADCON_POPUP_H
|
|
|
|
|
|
|
|
#define E_GADCON_POPUP_TYPE 0xE0b0104e
|
|
|
|
|
|
|
|
struct _E_Gadcon_Popup
|
|
|
|
{
|
|
|
|
E_Object e_obj_inherit;
|
|
|
|
|
|
|
|
E_Popup *win;
|
|
|
|
E_Gadcon_Client *gcc;
|
|
|
|
Evas_Coord w, h;
|
2008-02-05 08:39:22 -08:00
|
|
|
Evas_Object *o_bg;
|
2007-08-20 11:50:20 -07:00
|
|
|
|
2009-01-09 23:35:53 -08:00
|
|
|
Eina_Bool pinned : 1;
|
2009-01-24 06:09:37 -08:00
|
|
|
Eina_Bool gadcon_lock : 1;
|
|
|
|
Eina_Bool gadcon_was_locked : 1;
|
2007-08-20 11:50:20 -07:00
|
|
|
|
|
|
|
void (*resize_func) (Evas_Object *obj, int *w, int *h);
|
|
|
|
};
|
|
|
|
|
|
|
|
EAPI E_Gadcon_Popup *e_gadcon_popup_new(E_Gadcon_Client *gcc, void (*resize_func) (Evas_Object *obj, int *w, int *h));
|
|
|
|
EAPI void e_gadcon_popup_content_set(E_Gadcon_Popup *pop, Evas_Object *o);
|
|
|
|
EAPI void e_gadcon_popup_show(E_Gadcon_Popup *pop);
|
|
|
|
EAPI void e_gadcon_popup_hide(E_Gadcon_Popup *pop);
|
|
|
|
EAPI void e_gadcon_popup_toggle_pinned(E_Gadcon_Popup *pop);
|
2009-01-24 06:09:37 -08:00
|
|
|
EAPI void e_gadcon_popup_lock_set(E_Gadcon_Popup *pop, Eina_Bool setting);
|
2007-08-20 11:50:20 -07:00
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|