E_API int E_EVENT_ZONE_MOVE_RESIZE = 0;
EINTERN int E_EVENT_ZONE_ADD = 0;
EINTERN int E_EVENT_ZONE_DEL = 0;
-EINTERN int E_EVENT_ZONE_STOW = 0;
-EINTERN int E_EVENT_ZONE_UNSTOW = 0;
#ifdef _F_ZONE_WINDOW_ROTATION_
E_API int E_EVENT_ZONE_ROTATION_CHANGE_BEGIN = 0;
E_API int E_EVENT_ZONE_ROTATION_CHANGE_CANCEL = 0;
E_EVENT_ZONE_MOVE_RESIZE = ecore_event_type_new();
E_EVENT_ZONE_ADD = ecore_event_type_new();
E_EVENT_ZONE_DEL = ecore_event_type_new();
- E_EVENT_ZONE_STOW = ecore_event_type_new();
- E_EVENT_ZONE_UNSTOW = ecore_event_type_new();
#ifdef _F_ZONE_WINDOW_ROTATION_
E_EVENT_ZONE_ROTATION_CHANGE_BEGIN = ecore_event_type_new();
E_EVENT_ZONE_ROTATION_CHANGE_CANCEL = ecore_event_type_new();
ecore_event_add(E_EVENT_ZONE_USEFUL_GEOMETRY_CHANGE, ev, _e_zone_event_generic_free, NULL);
}
-EINTERN void
-e_zone_stow(E_Zone *zone)
-{
- E_Event_Zone_Stow *ev;
-
- E_OBJECT_CHECK(zone);
- E_OBJECT_TYPE_CHECK(zone, E_ZONE_TYPE);
- if (zone->stowed) return;
- ev = E_NEW(E_Event_Zone_Stow, 1);
- if (!ev) return;
- ev->zone = zone;
- e_object_ref(E_OBJECT(ev->zone));
- ecore_event_add(E_EVENT_ZONE_STOW, ev, _e_zone_event_generic_free, NULL);
-
- zone->stowed = EINA_TRUE;
-}
-
-EINTERN void
-e_zone_unstow(E_Zone *zone)
-{
- E_Event_Zone_Unstow *ev;
-
- E_OBJECT_CHECK(zone);
- E_OBJECT_TYPE_CHECK(zone, E_ZONE_TYPE);
- if (!zone->stowed) return;
- ev = E_NEW(E_Event_Zone_Unstow, 1);
- if (!ev) return;
- ev->zone = zone;
- e_object_ref(E_OBJECT(ev->zone));
- ecore_event_add(E_EVENT_ZONE_UNSTOW, ev, _e_zone_event_generic_free, NULL);
-
- zone->stowed = EINA_FALSE;
-}
-
E_API void
e_zone_display_state_set(E_Zone *zone, E_Zone_Display_State state)
{
int id;
- Eina_Bool stowed : 1;
#ifdef _F_ZONE_WINDOW_ROTATION_
struct
{
E_API void e_zone_useful_geometry_get(E_Zone *zone, int *x, int *y, int *w, int *h);
EINTERN void e_zone_desk_useful_geometry_get(E_Zone *zone, E_Desk *desk, int *x, int *y, int *w, int *h);
-EINTERN void e_zone_stow(E_Zone *zone);
-EINTERN void e_zone_unstow(E_Zone *zone);
-
E_API void e_zone_display_state_set(E_Zone *zone, E_Zone_Display_State state);
EINTERN E_Zone_Display_State e_zone_display_state_get(E_Zone *zone);
extern E_API int E_EVENT_ZONE_MOVE_RESIZE;
extern EINTERN int E_EVENT_ZONE_ADD;
extern EINTERN int E_EVENT_ZONE_DEL;
-extern EINTERN int E_EVENT_ZONE_STOW;
-extern EINTERN int E_EVENT_ZONE_UNSTOW;
#ifdef _F_ZONE_WINDOW_ROTATION_
extern E_API int E_EVENT_ZONE_ROTATION_CHANGE_BEGIN;