2007-08-20 11:50:20 -07:00
|
|
|
#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;
|
|
|
|
|
2019-08-18 01:45:08 -07:00
|
|
|
Evas_Object *comp_object;
|
2007-08-20 11:50:20 -07:00
|
|
|
E_Gadcon_Client *gcc;
|
2019-08-18 01:45:08 -07:00
|
|
|
Evas_Object *o_bg;
|
2013-02-18 05:43:47 -08:00
|
|
|
Evas_Object *content;
|
|
|
|
Ecore_Event_Handler *autoclose_handlers[2];
|
2019-08-22 00:21:39 -07:00
|
|
|
Ecore_Idler *show_idler;
|
|
|
|
Ecore_Animator *show_animator;
|
2019-08-18 01:45:08 -07:00
|
|
|
Evas_Coord w, h;
|
2007-08-20 11:50:20 -07:00
|
|
|
|
2017-11-06 09:46:08 -08:00
|
|
|
Eina_Bool pinned E_BITFIELD;
|
|
|
|
Eina_Bool gadcon_lock E_BITFIELD;
|
|
|
|
Eina_Bool gadcon_was_locked E_BITFIELD;
|
|
|
|
Eina_Bool visible E_BITFIELD;
|
2007-08-20 11:50:20 -07:00
|
|
|
};
|
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API E_Gadcon_Popup *e_gadcon_popup_new(E_Gadcon_Client *gcc, Eina_Bool noshadow);
|
|
|
|
E_API void e_gadcon_popup_content_set(E_Gadcon_Popup *pop, Evas_Object *o);
|
|
|
|
E_API void e_gadcon_popup_show(E_Gadcon_Popup *pop);
|
|
|
|
E_API void e_gadcon_popup_hide(E_Gadcon_Popup *pop);
|
|
|
|
E_API void e_gadcon_popup_toggle_pinned(E_Gadcon_Popup *pop);
|
|
|
|
E_API void e_gadcon_popup_lock_set(E_Gadcon_Popup *pop, Eina_Bool setting);
|
2007-08-20 11:50:20 -07:00
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|