summaryrefslogtreecommitdiff
path: root/src/bin/e_shelf.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-06-28 10:59:19 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-06-28 10:59:19 +0000
commit37461278bc016651fb1680f838b8f3770756c3e4 (patch)
tree6d6d52b2d52e0df8c46b2b4ef6bb7271b8a4ab54 /src/bin/e_shelf.h
parent9370e51c04fe0e3b8393505dff4aa13a3cfdc91b (diff)
add e_shelf_zone_dummy_new(), e_shelf_list_all(), and e_gadcon_dummy_new() to allow for creating an object (such as a task bar) which simulates a shelf for the purpose of removing its geometry from _e_zone_useful_geometry_calc(), thus preventing windows from being placed under it
ticket #643 SVN revision: 72999
Diffstat (limited to 'src/bin/e_shelf.h')
-rw-r--r--src/bin/e_shelf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/e_shelf.h b/src/bin/e_shelf.h
index b9acf68..27938c8 100644
--- a/src/bin/e_shelf.h
+++ b/src/bin/e_shelf.h
@@ -7,6 +7,7 @@ typedef struct _E_Shelf E_Shelf;
7#define E_SHELF_H 7#define E_SHELF_H
8 8
9#define E_SHELF_TYPE 0xE0b0101e 9#define E_SHELF_TYPE 0xE0b0101e
10#define E_SHELF_DUMMY_TYPE 0xE0b0102e
10 11
11struct _E_Shelf 12struct _E_Shelf
12{ 13{
@@ -42,6 +43,7 @@ struct _E_Shelf
42 unsigned char toggle : 1; 43 unsigned char toggle : 1;
43 unsigned char edge : 1; 44 unsigned char edge : 1;
44 unsigned char urgent_show : 1; 45 unsigned char urgent_show : 1;
46 unsigned char dummy : 1;
45 unsigned int locked; 47 unsigned int locked;
46}; 48};
47 49
@@ -49,6 +51,7 @@ EINTERN int e_shelf_init(void);
49EINTERN int e_shelf_shutdown(void); 51EINTERN int e_shelf_shutdown(void);
50EAPI void e_shelf_config_update(void); 52EAPI void e_shelf_config_update(void);
51EAPI Eina_List *e_shelf_list(void); 53EAPI Eina_List *e_shelf_list(void);
54EAPI Eina_List *e_shelf_list_all(void); // includes dummy shelves
52EAPI E_Shelf *e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, int popup, int layer, int id); 55EAPI E_Shelf *e_shelf_zone_new(E_Zone *zone, const char *name, const char *style, int popup, int layer, int id);
53EAPI void e_shelf_zone_move_resize_handle(E_Zone *zone); 56EAPI void e_shelf_zone_move_resize_handle(E_Zone *zone);
54EAPI void e_shelf_populate(E_Shelf *es); 57EAPI void e_shelf_populate(E_Shelf *es);