Update of /cvsroot/libufo/ufo-0.5/src/widgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22108/src/widgets
Modified Files:
udesktoppane.cpp uinternalframe.cpp urootpane.cpp
uviewport.cpp
Log Message:
Replaced calls to setOpaque,setOpacity with CSS class ids (transparent).
Index: uinternalframe.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/uinternalframe.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** uinternalframe.cpp 30 Sep 2005 12:37:20 -0000 1.18
--- uinternalframe.cpp 11 Oct 2005 19:22:21 -0000 1.19
***************
*** 96,100 ****
{
setCssType("internalframe");
! setOpaque(false);
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
--- 96,100 ----
{
setCssType("internalframe");
! setCssClass("transparent");
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
***************
*** 110,114 ****
{
setCssType("internalframe");
! setOpaque(false);
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
--- 110,114 ----
{
setCssType("internalframe");
! setCssClass("transparent");
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
***************
*** 123,127 ****
{
setCssType("internalframe");
! setOpaque(false);
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
--- 123,127 ----
{
setCssType("internalframe");
! setCssClass("transparent");
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
***************
*** 136,140 ****
{
setCssType("internalframe");
! setOpaque(false);
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
--- 136,140 ----
{
setCssType("internalframe");
! setCssClass("transparent");
setLayout(new UBorderLayout(0, 0));
add(new _TitleBar(this), UBorderLayout::North);
Index: urootpane.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/urootpane.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** urootpane.cpp 30 Sep 2005 12:37:20 -0000 1.15
--- urootpane.cpp 11 Oct 2005 19:22:21 -0000 1.16
***************
*** 98,102 ****
URootPane::createContentPane() const {
UWidget * contentPane = new UWidget();
! contentPane->setOpaque(false);
return contentPane;
}
--- 98,102 ----
URootPane::createContentPane() const {
UWidget * contentPane = new UWidget();
! contentPane->setCssClass("transparent");
return contentPane;
}
Index: udesktoppane.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/udesktoppane.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** udesktoppane.cpp 30 Sep 2005 12:37:20 -0000 1.4
--- udesktoppane.cpp 11 Oct 2005 19:22:21 -0000 1.5
***************
*** 59,66 ****
, m_rightDock(new UWidget())
{
! m_topDock->setOpaque(false);
! m_leftDock->setOpaque(false);
! m_bottomDock->setOpaque(false);
! m_rightDock->setOpaque(false);
m_topDock->setLayout(new UBoxLayout(Vertical, 0, 0));
--- 59,66 ----
, m_rightDock(new UWidget())
{
! m_topDock->setCssClass("transparent");
! m_leftDock->setCssClass("transparent");
! m_bottomDock->setCssClass("transparent");
! m_rightDock->setCssClass("transparent");
m_topDock->setLayout(new UBoxLayout(Vertical, 0, 0));
Index: uviewport.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/uviewport.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** uviewport.cpp 30 Sep 2005 12:37:20 -0000 1.11
--- uviewport.cpp 11 Oct 2005 19:22:21 -0000 1.12
***************
*** 92,96 ****
setClipping(true);
// FIXME: should this be set via style sheets?
! setOpaque(false);
}
--- 92,96 ----
setClipping(true);
// FIXME: should this be set via style sheets?
! setCssClass("transparent");
}
|