Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/4277
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/77/4277/1
65456 first try
Change-Id: I08666492fea76395fd24b0ebd02647821f49573d
---
M sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx
M sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx
b/sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx
index 3f73b56..7fbfb2f 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectPainter.hxx
@@ -100,6 +100,9 @@
void PaintTransitionEffect (
OutputDevice& rDevice,
const model::SharedPageDescriptor& rpDescriptor) const;
+ void PaintCostumAnnimationEffect (
+ OutputDevice& rDevice,
+ const model::SharedPageDescriptor& rpDescriptor) const;
void PaintBorder (
OutputDevice& rDevice,
const Theme::GradientColorType eColorType,
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
index 8c725f8..083e4e5 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
@@ -70,7 +70,6 @@
-
PageObjectPainter::~PageObjectPainter (void)
{
}
@@ -93,7 +92,7 @@
PaintPreview(rDevice, rpDescriptor);
PaintPageNumber(rDevice, rpDescriptor);
PaintTransitionEffect(rDevice, rpDescriptor);
-
+ PaintCostumAnnimationEffect(rDevice, rpDescriptor);
rDevice.SetAntialiasing(nSavedAntialiasingMode);
}
}
@@ -358,7 +357,33 @@
}
+void PageObjectPainter::PaintCostumAnnimationEffect (
+ OutputDevice& rDevice,
+ const model::SharedPageDescriptor& rpDescriptor) const
+{
+ SdPage* pPage = rpDescriptor->GetPage();
+ boost::shared_ptr< MainSequence > aMainSequence = pPage->getMainSequence();
+ aMainSequence.get();
+ ShapeList aShapeList;
+ aShapeList = pPage->GetPresentationShapeList();
+ const std::list< SdrObject* >& aList = aShapeList.getList();
+ std::list< SdrObject* >::const_iterator it = aList.begin();
+ while (it!=aList.end())
+ {
+ it++;
+ };
+ /*if ( aMainSequence )
+ {
+ const Rectangle aBox (mpPageObjectLayouter->GetBoundingBox(
+ rpDescriptor,
+ PageObjectLayouter::TransitionEffectIndicator,
+ PageObjectLayouter::ModelCoordinateSystem));
+ rDevice.DrawBitmapEx(
+ aBox.TopRight(),
+ mpPageObjectLayouter->GetTransitionEffectIcon().GetBitmapEx());
+ }*/
+}
Bitmap& PageObjectPainter::GetBackgroundForState (
const model::SharedPageDescriptor& rpDescriptor,
--
To view, visit https://gerrit.libreoffice.org/4277
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I08666492fea76395fd24b0ebd02647821f49573d
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Edmond Ciorba <edmond_ciorba@yahoo.com>
Context
- [PATCH] 65456 first try · Edmond Ciorba (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.