summaryrefslogtreecommitdiff
path: root/src/bin/e_shelf.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-14 15:10:03 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-01-14 15:13:57 -0500
commitbdd175a47a5c5764ed96c56fc86d690570ba1ce4 (patch)
tree56747711a58fbccf2a4ca9ac42221a973060641b /src/bin/e_shelf.h
parent4d55682362c38855a231c71cc6b7ec42553a9e47 (diff)
implement zone obstacles for calculating useful geometry
these are generic objects which can be added to indicate that there is something blocking window placement at the edge of a screen/desk. this replaces the traditional method of watching shelves to calculate useful geometry with a managed object which will automatically trigger a recalc whenever it is updated, and it allows non-shelf objects to more easily register themselves as obstacles for window placement
Diffstat (limited to 'src/bin/e_shelf.h')
-rw-r--r--src/bin/e_shelf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_shelf.h b/src/bin/e_shelf.h
index e0ac359..9a7d9a8 100644
--- a/src/bin/e_shelf.h
+++ b/src/bin/e_shelf.h
@@ -40,6 +40,7 @@ struct _E_Shelf
40 Ecore_Timer *module_init_end_timer; 40 Ecore_Timer *module_init_end_timer;
41 Eina_List *handlers; 41 Eina_List *handlers;
42 Ecore_Event_Handler *autohide; 42 Ecore_Event_Handler *autohide;
43 Eina_List *zone_obstacles;
43 unsigned char fit_along : 1; 44 unsigned char fit_along : 1;
44 unsigned char fit_size : 1; 45 unsigned char fit_size : 1;
45 unsigned char hidden : 1; 46 unsigned char hidden : 1;
@@ -94,5 +95,6 @@ E_API void e_shelf_name_set(E_Shelf *es, const char *name);
94E_API void e_shelf_rename_dialog(E_Shelf *es); 95E_API void e_shelf_rename_dialog(E_Shelf *es);
95E_API void e_shelf_autohide_set(E_Shelf *es, int autohide_type); 96E_API void e_shelf_autohide_set(E_Shelf *es, int autohide_type);
96E_API Eina_Bool e_shelf_desk_visible(const E_Shelf *es, const E_Desk *desk); 97E_API Eina_Bool e_shelf_desk_visible(const E_Shelf *es, const E_Desk *desk);
98E_API void e_shelf_obstacles_update(E_Shelf *es);
97#endif 99#endif
98#endif 100#endif