summaryrefslogtreecommitdiff
path: root/src/bin/e_shelf.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-06 12:46:08 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-07 10:39:56 -0500
commit59fa0e418dc78abc2d9e35635e44197ac8091520 (patch)
tree33e8a0dfe466d434392643d35a66f08ce9b82890 /src/bin/e_shelf.h
parentf78eb3c108fbbb84edcb4c62fc499b4be558169a (diff)
use E_BITFIELD define for bitfield struct members
on release builds this will be a bitfield, on devel builds it will make bools a normal unsigned char for easier debugging
Diffstat (limited to 'src/bin/e_shelf.h')
-rw-r--r--src/bin/e_shelf.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/e_shelf.h b/src/bin/e_shelf.h
index 9a7d9a8..59accf9 100644
--- a/src/bin/e_shelf.h
+++ b/src/bin/e_shelf.h
@@ -41,16 +41,16 @@ struct _E_Shelf
41 Eina_List *handlers; 41 Eina_List *handlers;
42 Ecore_Event_Handler *autohide; 42 Ecore_Event_Handler *autohide;
43 Eina_List *zone_obstacles; 43 Eina_List *zone_obstacles;
44 unsigned char fit_along : 1; 44 unsigned char fit_along E_BITFIELD;
45 unsigned char fit_size : 1; 45 unsigned char fit_size E_BITFIELD;
46 unsigned char hidden : 1; 46 unsigned char hidden E_BITFIELD;
47 unsigned char toggle : 1; 47 unsigned char toggle E_BITFIELD;
48 unsigned char edge : 1; 48 unsigned char edge E_BITFIELD;
49 unsigned char urgent_show : 1; 49 unsigned char urgent_show E_BITFIELD;
50 unsigned char dummy : 1; 50 unsigned char dummy E_BITFIELD;
51 Eina_Bool cfg_delete : 1; 51 Eina_Bool cfg_delete E_BITFIELD;
52 unsigned int locked; 52 unsigned int locked;
53 Eina_Bool hiding : 1; 53 Eina_Bool hiding E_BITFIELD;
54}; 54};
55 55
56typedef struct E_Event_Shelf 56typedef struct E_Event_Shelf