Update of /cvsroot/libufo/ufo-0.5/src/widgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23508/src/widgets
Modified Files:
uitem.cpp
Log Message:
Only deselected items respect opacity.
Index: uitem.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/uitem.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** uitem.cpp 12 Jul 2005 13:32:55 -0000 1.13
--- uitem.cpp 11 Oct 2005 19:27:05 -0000 1.14
***************
*** 77,83 ****
} else {
bg = hints->palette.base();
! }
! if (hints->opacity != 1.0f) {
! bg.getFloat()[3] = hints->opacity;
}
g->setColor(bg);
--- 77,83 ----
} else {
bg = hints->palette.base();
! if (hints->opacity != 1.0f) {
! bg.getFloat()[3] = hints->opacity;
! }
}
g->setColor(bg);
|