Kaydet (Commit) 9664814f authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS presenterscreen (1.2.4); FILE MERGED

2008/04/22 08:26:04 af 1.2.4.2: RESYNC: (1.2-1.3); FILE MERGED
2008/04/16 15:40:39 af 1.2.4.1: #i18486# Improved invalidation of covered area on resizes and translations.
üst ffac298e
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* $RCSfile: PresenterPane.hxx,v $ * $RCSfile: PresenterPane.hxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -60,7 +60,9 @@ namespace sdext { namespace presenter { ...@@ -60,7 +60,9 @@ namespace sdext { namespace presenter {
class PresenterPane : public PresenterPaneBase class PresenterPane : public PresenterPaneBase
{ {
public: public:
PresenterPane (const css::uno::Reference<css::uno::XComponentContext>& rxContext); PresenterPane (
const css::uno::Reference<css::uno::XComponentContext>& rxContext,
const ::rtl::Reference<PresenterController>& rpPresenterController);
virtual ~PresenterPane (void); virtual ~PresenterPane (void);
static ::rtl::OUString getImplementationName_static (void); static ::rtl::OUString getImplementationName_static (void);
...@@ -101,9 +103,18 @@ public: ...@@ -101,9 +103,18 @@ public:
private: private:
/** Store the bounding box so that when the window is resized or moved
we still know the old position and size.
*/
css::awt::Rectangle maBoundingBox;
virtual void CreateCanvases ( virtual void CreateCanvases (
const css::uno::Reference<css::awt::XWindow>& rxParentWindow, const css::uno::Reference<css::awt::XWindow>& rxParentWindow,
const css::uno::Reference<css::rendering::XSpriteCanvas>& rxParentCanvas); const css::uno::Reference<css::rendering::XSpriteCanvas>& rxParentCanvas);
void Invalidate (
const css::awt::Rectangle& rRepaintBox);
void UpdateBoundingBox (void);
}; };
} } // end of namespace ::sd::presenter } } // end of namespace ::sd::presenter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment