diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-28 19:24:08 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-28 20:13:57 +1000 |
commit | 0ada64dfd99fdaa1b182f88d32e4f4c6fbd2b5f6 (patch) | |
tree | 004c050fb1c76a99f649497dd937ad45ad7f469a | |
parent | d0d21235cd653d66aa877161086c474e988277b6 (diff) |
VCL: Move SetBackground from outdev.cxx to outdevstate.cxx
Change-Id: I04bf1470e43ed08ef5759fcbd6f96d4896f7690b
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 24 | ||||
-rw-r--r-- | vcl/source/outdev/outdevstate.cxx | 24 |
2 files changed, 24 insertions, 24 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index 31c577447270..c0dd42a3844f 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -821,30 +821,6 @@ Color OutputDevice::ImplDrawModeToColor( const Color& rColor ) const return aColor; } -void OutputDevice::SetBackground() -{ - - maBackground = Wallpaper(); - mbBackground = false; - - if( mpAlphaVDev ) - mpAlphaVDev->SetBackground(); -} - -void OutputDevice::SetBackground( const Wallpaper& rBackground ) -{ - - maBackground = rBackground; - - if( rBackground.GetStyle() == WALLPAPER_NULL ) - mbBackground = false; - else - mbBackground = true; - - if( mpAlphaVDev ) - mpAlphaVDev->SetBackground( rBackground ); -} - void OutputDevice::SetRefPoint() { diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx index 2fada5ef6060..d149542d56b3 100644 --- a/vcl/source/outdev/outdevstate.cxx +++ b/vcl/source/outdev/outdevstate.cxx @@ -347,6 +347,30 @@ void OutputDevice::SetFillColor( const Color& rColor ) mpAlphaVDev->SetFillColor( COL_BLACK ); } +void OutputDevice::SetBackground() +{ + + maBackground = Wallpaper(); + mbBackground = false; + + if( mpAlphaVDev ) + mpAlphaVDev->SetBackground(); +} + +void OutputDevice::SetBackground( const Wallpaper& rBackground ) +{ + + maBackground = rBackground; + + if( rBackground.GetStyle() == WALLPAPER_NULL ) + mbBackground = false; + else + mbBackground = true; + + if( mpAlphaVDev ) + mpAlphaVDev->SetBackground( rBackground ); +} + void OutputDevice::InitFillColor() { |