summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/DrawHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/DrawHelper.cxx')
-rw-r--r--sfx2/source/sidebar/DrawHelper.cxx74
1 files changed, 0 insertions, 74 deletions
diff --git a/sfx2/source/sidebar/DrawHelper.cxx b/sfx2/source/sidebar/DrawHelper.cxx
index f8172b2cf52c..85dbe372da60 100644
--- a/sfx2/source/sidebar/DrawHelper.cxx
+++ b/sfx2/source/sidebar/DrawHelper.cxx
@@ -21,7 +21,6 @@
#include <vcl/lineinfo.hxx>
-
namespace sfx2 { namespace sidebar {
void DrawHelper::DrawBorder (
@@ -65,70 +64,6 @@ void DrawHelper::DrawBorder (
rVerticalPaint);
}
-
-
-
-void DrawHelper::DrawBevelBorder (
- OutputDevice& rDevice,
- const Rectangle rBox,
- const SvBorder aBorderSize,
- const Paint& rTopLeftPaint,
- const Paint& rCenterPaint,
- const Paint& rBottomRightPaint)
-{
- // Draw top line.
- DrawHorizontalLine(
- rDevice,
- rBox.Left(),
- rBox.Right() - aBorderSize.Right(),
- rBox.Top(),
- aBorderSize.Top(),
- rTopLeftPaint);
- // Draw bottom line.
- DrawHorizontalLine(
- rDevice,
- rBox.Left()+aBorderSize.Left(),
- rBox.Right(),
- rBox.Bottom()-aBorderSize.Bottom()+1,
- aBorderSize.Bottom(),
- rBottomRightPaint);
- // Draw left line.
- DrawVerticalLine(
- rDevice,
- rBox.Top()+aBorderSize.Top(),
- rBox.Bottom() - aBorderSize.Bottom(),
- rBox.Left(),
- aBorderSize.Left(),
- rTopLeftPaint);
- // Draw right line.
- DrawVerticalLine(
- rDevice,
- rBox.Top()+aBorderSize.Top(),
- rBox.Bottom()-aBorderSize.Bottom(),
- rBox.Right()-aBorderSize.Right()+1,
- aBorderSize.Right(),
- rBottomRightPaint);
- // Draw top right corner.
- DrawVerticalLine(
- rDevice,
- rBox.Top(),
- rBox.Top()+aBorderSize.Top()-1,
- rBox.Right()-aBorderSize.Right()+1,
- aBorderSize.Right(),
- rCenterPaint);
- // Draw bottom right corner.
- DrawVerticalLine(
- rDevice,
- rBox.Bottom() - aBorderSize.Bottom()+1,
- rBox.Bottom(),
- rBox.Left(),
- aBorderSize.Left(),
- rCenterPaint);
-}
-
-
-
-
void DrawHelper::DrawHorizontalLine(
OutputDevice& rDevice,
const sal_Int32 nLeft,
@@ -165,9 +100,6 @@ void DrawHelper::DrawHorizontalLine(
}
}
-
-
-
void DrawHelper::DrawVerticalLine(
OutputDevice& rDevice,
const sal_Int32 nTop,
@@ -204,9 +136,6 @@ void DrawHelper::DrawVerticalLine(
}
}
-
-
-
void DrawHelper::DrawRoundedRectangle (
OutputDevice& rDevice,
const Rectangle& rBox,
@@ -238,7 +167,4 @@ void DrawHelper::DrawRoundedRectangle (
}
}
-
-
-
} } // end of namespace sfx2::sidebar