Update of /cvsroot/libufo/ufo-0.5/src/ui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4656/src/ui
Modified Files:
ubasicstyle.cpp
Log Message:
Yet another pixel rasterization correction.
Index: ubasicstyle.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/ui/ubasicstyle.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ubasicstyle.cpp 26 Oct 2005 12:09:07 -0000 1.10
--- ubasicstyle.cpp 29 Oct 2005 15:20:49 -0000 1.11
***************
*** 276,281 ****
bg.add(rect.x + rect.w, rect.y + 1);
bg.setColor(col);
! bg.add(rect.x + rect.w, rect.y + rect.h - 2);
! bg.add(rect.x + 1, rect.y + rect.h - 2);
g->drawVertexArray(UGraphics::TriangleFan, &bg);
--- 276,281 ----
bg.add(rect.x + rect.w, rect.y + 1);
bg.setColor(col);
! bg.add(rect.x + rect.w, rect.y + rect.h - 1);
! bg.add(rect.x + 1, rect.y + rect.h - 1);
g->drawVertexArray(UGraphics::TriangleFan, &bg);
|