Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: draw.c Log Message: Define mask bitmaps in source to avoid depending on x11 bitmap package. =================================================================== RCS file: /cvs/e/e16/e/src/draw.c,v retrieving revision 1.112 retrieving revision 1.113 diff -u -3 -r1.112 -r1.113 --- draw.c 5 Sep 2007 19:12:55 -0000 1.112 +++ draw.c 15 Dec 2007 12:31:33 -0000 1.113 @@ -28,8 +28,21 @@ #include "piximg.h" #include "xwin.h" +#if 0 #include <X11/bitmaps/gray> #include <X11/bitmaps/gray3> +#else +/* Include contents of X11/bitmaps/gray+gray3. + * (avoid build failure if x11 bitmap package isn't installed) */ + +#define gray_width 2 +#define gray_height 2 +static const char gray_bits[] = { 0x01, 0x02 }; + +#define gray3_width 4 +#define gray3_height 4 +static const char gray3_bits[] = { 0x01, 0x00, 0x04, 0x00 }; +#endif typedef struct { ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs