summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2010-02-17 13:32:10 +0100
committerAndre Fischer <af@openoffice.org>2010-02-17 13:32:10 +0100
commitb5f80146f4f2d780b1d03249e6f5d7d2d27c6d37 (patch)
tree500fdd89adc6f33d16ba38ec9bf55d8f638e2c54 /sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx
parentb7fcd9d15b798ca928b9c6a565fca9a89fe20106 (diff)
renaissance1: #i107215# Modified painting and layouting of page objects.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx')
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx
index 65f67efaeb22..026b60238d91 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx
@@ -73,6 +73,8 @@ public:
MouseOverIndicator,
// Bounding box of the page number.
PageNumber,
+ // Bounding box of the frame that sometimes is painted around the page number.
+ PageNumberFrame,
// Bounding box of the pane name.
Name,
// Indicator whether or not there is a slide transition associated
@@ -140,18 +142,12 @@ public:
const Point& rWindowLocation);
private:
- /// Minimal border around the page number area.
- static const sal_Int32 mnPageNumberOffset;
- static const sal_Int32 mnOuterBorderWidth;
- static const sal_Int32 mnInfoAreaMinWidth;
- static const Size maButtonSize;
- static const sal_Int32 mnButtonGap;
-
SharedSdWindow mpWindow;
Size maPageObjectSize;
double mnModelToWindowScale;
Rectangle maPageObjectBoundingBox;
Rectangle maPageNumberAreaBoundingBox;
+ Rectangle maPageNumberFrameBoundingBox;
Rectangle maPreviewBoundingBox;
Rectangle maTransitionEffectBoundingBox;
Rectangle maButtonAreaBoundingBox;
@@ -161,7 +157,7 @@ private:
Rectangle CalculatePreviewBoundingBox (
Size& rPageObjectSize,
const Size& rPreviewModelSize,
- const sal_Int32 nInfoAreaWidth);
+ const sal_Int32 nPageNumberAreaWidth);
};