diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 20:35:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 20:35:53 +0000 |
commit | 08fd513e715209a1295de2e65cbdb47108908826 (patch) | |
tree | dca2552b90246319753e34e91afa1e534e9c6043 /sdext | |
parent | 144f554dfde4133e949decbc2b41d881853cf943 (diff) |
callcatcher: update list
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterSprite.cxx | 7 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterSprite.hxx | 1 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterWindowManager.cxx | 30 |
3 files changed, 0 insertions, 38 deletions
diff --git a/sdext/source/presenter/PresenterSprite.cxx b/sdext/source/presenter/PresenterSprite.cxx index 0fca939b0f34..aa396eb14a76 100644 --- a/sdext/source/presenter/PresenterSprite.cxx +++ b/sdext/source/presenter/PresenterSprite.cxx @@ -126,13 +126,6 @@ void PresenterSprite::MoveTo (const css::geometry::RealPoint2D& rLocation) ); } -void PresenterSprite::SetAlpha (const double nAlpha) -{ - mnAlpha = nAlpha; - if (mxSprite.is()) - mxSprite->setAlpha(mnAlpha); -} - void PresenterSprite::Update (void) { if (mxSpriteFactory.is()) diff --git a/sdext/source/presenter/PresenterSprite.hxx b/sdext/source/presenter/PresenterSprite.hxx index 58755d7a8e44..2896712820c7 100644 --- a/sdext/source/presenter/PresenterSprite.hxx +++ b/sdext/source/presenter/PresenterSprite.hxx @@ -65,7 +65,6 @@ public: void Resize (const css::geometry::RealSize2D& rSize); void MoveTo (const css::geometry::RealPoint2D& rLocation); - void SetAlpha (const double nAlpha); void Update (void); diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index d25358f8a1a2..ee6490df89ed 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -1189,36 +1189,6 @@ void PresenterWindowManager::ThrowIfDisposed (void) const } } -namespace { - -//===== ModeChangeAnimation =================================================== - -class ModeChangeAnimation : public PresenterAnimation -{ -public: - ModeChangeAnimation ( - const ::boost::shared_ptr<PresenterSprite>& rpSprite, - const Reference<rendering::XSpriteCanvas>& rxCanvas) - : PresenterAnimation (0, 1000, 20), - mpSprite(rpSprite), - mxCanvas(rxCanvas) - { - } - - virtual void Run (const double nProgress, const sal_uInt64 nCurrentTime) - { - (void)nCurrentTime; - mpSprite->SetAlpha(1.0 - nProgress); - mxCanvas->updateScreen(sal_False); - } - -private: - ::boost::shared_ptr<PresenterSprite> mpSprite; - Reference<rendering::XSpriteCanvas> mxCanvas; -}; - -} // end of anonymous namespace - } } // end of namespace ::sdext::presenter /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |