Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: E.h fx.c text.c x.c Log Message: Eliminate GetWinDepth(). =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v retrieving revision 1.439 retrieving revision 1.440 diff -u -3 -r1.439 -r1.440 --- E.h 28 May 2005 14:06:57 -0000 1.439 +++ E.h 29 May 2005 09:34:57 -0000 1.440 @@ -2289,7 +2289,6 @@ void ESetColor(XColor * pxc, int r, int g, int b); void EGetColor(const XColor * pxc, int *pr, int *pg, int *pb); -int GetWinDepth(Window win); Window WindowAtXY_0(Window base, int bx, int by, int x, int y); Window WindowAtXY(int x, int y); Bool PointerAt(int *x, int *y); =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/fx.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -3 -r1.47 -r1.48 --- fx.c 7 May 2005 11:19:58 -0000 1.47 +++ fx.c 29 May 2005 09:34:57 -0000 1.48 @@ -90,7 +90,7 @@ fx_ripple_above = ECreatePixmap(fx_ripple_win, VRoot.w, fx_ripple_waterh * 2, - GetWinDepth(fx_ripple_win)); + VRoot.depth); if (gc) EFreeGC(gc); if (gc1) @@ -534,8 +534,7 @@ fx_wave_win = DeskGetCurrentRoot(); fx_wave_above = - ECreatePixmap(fx_wave_win, VRoot.w, FX_WAVE_WATERH * 2, - GetWinDepth(fx_wave_win)); + ECreatePixmap(fx_wave_win, VRoot.w, FX_WAVE_WATERH * 2, VRoot.depth); if (gc) EFreeGC(gc); if (gc1) =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/text.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- text.c 7 May 2005 11:20:00 -0000 1.53 +++ text.c 29 May 2005 09:34:57 -0000 1.54 @@ -384,7 +384,7 @@ if (ts->style.orientation != FONT_TO_RIGHT) drawable = ECreatePixmap(VRoot.win, wid + 2, ascent + descent + 2, - GetWinDepth(win)); + VRoot.depth); else drawable = win; TextDrawRotTo(win, &drawable, xx - 1, yy - 1 - ascent, wid + 2, @@ -525,8 +525,8 @@ if (ts->style.orientation != FONT_TO_RIGHT) drawable = - ECreatePixmap(VRoot.win, ret2.width + 2, - ret2.height + 2, GetWinDepth(win)); + ECreatePixmap(VRoot.win, ret2.width + 2, ret2.height + 2, + VRoot.depth); else drawable = win; TextDrawRotTo(win, &drawable, xx - 1, @@ -622,7 +622,7 @@ if (ts->style.orientation != FONT_TO_RIGHT) drawable = ECreatePixmap(VRoot.win, wid + 2, ascent + descent + 2, - GetWinDepth(win)); + VRoot.depth); else drawable = win; TextDrawRotTo(win, &drawable, xx - 1, yy - ascent - 1, wid + 2, @@ -718,7 +718,7 @@ if (ts->style.orientation != FONT_TO_RIGHT) drawable = ECreatePixmap(VRoot.win, wid + 2, ascent + descent + 2, - GetWinDepth(win)); + VRoot.depth); else drawable = win; TextDrawRotTo(win, &drawable, xx - 1, yy - ascent - 1, wid + 2, =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/x.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- x.c 28 May 2005 11:43:57 -0000 1.93 +++ x.c 29 May 2005 09:34:58 -0000 1.94 @@ -1241,16 +1241,6 @@ XSync(disp, False); } -int -GetWinDepth(Window win) -{ - Window w1; - int x, y, w, h, b, d; - - EGetGeometry(win, &w1, &x, &y, &w, &h, &b, &d); - return d; -} - Window WindowAtXY_0(Window base, int bx, int by, int x, int y) { ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs