diff options
author | Andre Fischer <af@openoffice.org> | 2010-03-23 12:50:14 +0100 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2010-03-23 12:50:14 +0100 |
commit | f38cf1fdb8e23c4031b198214a29510046c05ecc (patch) | |
tree | 56c19820508d38c8accef58ac668413eba8c2210 /sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx | |
parent | 8d603c86c1898ecf653e83c6538fab0c54e88036 (diff) |
renaissance1: #i107215# Improved button handling. Added debug design dialog.
Diffstat (limited to 'sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx index 99ceee121b42..09243029e2a4 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx @@ -80,7 +80,9 @@ public: // Indicator whether or not there is a slide transition associated // with this slide. TransitionEffectIndicator, - ButtonArea, + // Wide button placed without border at the bottom of the preview. + WideButton, + // Individual button. Specify nIndex when calling GetBoundingBox(). Button }; /** Two coordinate systems are supported. They differ only in @@ -91,7 +93,16 @@ public: */ enum CoordinateSystem { WindowCoordinateSystem, - ModelCoordinateSystem}; + ModelCoordinateSystem + }; + + enum ButtonIndex { + MinButtonIndex = 0, + StartShowButtonIndex = MinButtonIndex, + ShowHideButtonIndex = 1, + DuplicateButtonIndex = 2, + MaxButtonIndex = DuplicateButtonIndex + }; /** Return the bounding box of the page object or one of its graphical parts. @@ -148,7 +159,7 @@ private: Rectangle maPageNumberFrameBoundingBox; Rectangle maPreviewBoundingBox; Rectangle maTransitionEffectBoundingBox; - Rectangle maButtonAreaBoundingBox; + Rectangle maWideButtonBoundingBox; const Image maTransitionEffectIcon; const ::boost::shared_ptr<Font> mpPageNumberFont; |