gridcontrol04: i111555: change file permissions for config script

This commit is contained in:
Mihaela Kedikova 2010-06-11 10:22:00 +02:00
parent b2c57b3e11
commit b75ce9cf2a
3 changed files with 18 additions and 9 deletions

View file

@ -74,9 +74,11 @@ namespace svt { namespace table
virtual void CaptureMouse();
virtual void ReleaseMouse();
virtual long Notify(NotifyEvent& rNEvt);
virtual void SetBackground(const Color& rColor);
virtual void SetControlBackground(const Color& rColor);
virtual Color GetControlBackground();
virtual void SetControlBackground();
void SetBackground(const Wallpaper& rColor);
void SetBackground();
};
//........................................................................
} } // namespace svt::table

View file

@ -55,19 +55,24 @@ namespace svt { namespace table
m_rTableControl.doPaintContent( rUpdateRect );
}
//--------------------------------------------------------------------
void TableDataWindow::SetBackground( const Color& rColor )
void TableDataWindow::SetBackground( const Wallpaper& rColor )
{
Window::SetBackground( rColor );
SetBackground( rColor );
}
//--------------------------------------------------------------------
void TableDataWindow::SetControlBackground( const Color& rColor )
{
Window::SetControlBackground( rColor );
SetControlBackground( rColor );
}
//--------------------------------------------------------------------
Color TableDataWindow::GetControlBackground()
void TableDataWindow::SetBackground()
{
return Window::GetControlBackground();
SetBackground();
}
//--------------------------------------------------------------------
void TableDataWindow::SetControlBackground()
{
SetControlBackground();
}
//--------------------------------------------------------------------
void TableDataWindow::MouseMove( const MouseEvent& rMEvt )

View file

@ -226,10 +226,12 @@ void SVTXGridControl::setProperty( const ::rtl::OUString& PropertyName, const An
case BASEPROPERTY_BACKGROUNDCOLOR:
{
sal_Int32 color = 0xFFFFFF;
Color color1 = pTable->GetSettings().GetStyleSettings().GetFieldColor();
if( aValue >>= color )
{
pTable->getDataWindow()->SetBackground( color );
pTable->getDataWindow()->SetControlBackground( color );
color1 = color;
pTable->getDataWindow()->SetBackground( color1 );
pTable->getDataWindow()->SetControlBackground( color1 );
}
break;
}