Enlightenment CVS committal Author : barbieri Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_private.h Log Message: Reorganize Evas_Object to save 20 bytes. This is a repack of bitfield members, was tested on GNU/Linux + GCC 4.1.2 and works fine. Needs further testing on other compilers. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_private.h,v retrieving revision 1.98 retrieving revision 1.99 diff -u -3 -r1.98 -r1.99 --- evas_private.h 1 May 2008 03:42:21 -0000 1.98 +++ evas_private.h 1 May 2008 03:52:20 -0000 1.99 @@ -416,15 +416,15 @@ struct { unsigned char r, g, b, a; } color; - Evas_Bool visible : 1; - Evas_Bool have_clipees : 1; int layer; Evas_Object *clipper; - Evas_Bool anti_alias; struct { int color_space; } interpolation; - Evas_Render_Op render_op; + Evas_Bool visible : 1; + Evas_Bool have_clipees : 1; + Evas_Bool anti_alias : 1; + Evas_Render_Op render_op : 4; } cur, prev; char *name; @@ -463,7 +463,8 @@ int last_mouse_down_counter; int last_mouse_up_counter; int mouse_grabbed; - Evas_Object_Pointer_Mode pointer_mode; + + Evas_Object_Pointer_Mode pointer_mode : 1; Evas_Bool store : 1; Evas_Bool pass_events : 1; ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs