summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 10:49:31 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 10:50:22 +0900
commit7d890d0482abb8e051144d8177917c21844638c3 (patch)
tree732558915923809ee0784999e15aae87b0f85b47 /include/svtools
parent279c665ac1ecb60cb1450691ce3449590041b307 (diff)
refactor "Calendar" control to use RenderContext
Change-Id: I41aea2e62bb8c034d07825bd4b8776e718cd0920
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/calendar.hxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index c7f503ea4da3..7e5751028d75 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -232,13 +232,12 @@ private:
SVT_DLLPRIVATE void ImplFormat();
using Window::ImplHitTest;
SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const;
- SVT_DLLPRIVATE void ImplDrawSpin( bool bDrawPrev = true, bool bDrawNext = true );
- SVT_DLLPRIVATE void ImplDrawDate( long nX, long nY,
- sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear,
- DayOfWeek eDayOfWeek,
- bool bBack = true, bool bOther = false,
- sal_uLong nToday = 0 );
- SVT_DLLPRIVATE void ImplDraw( bool bPaint = false );
+ SVT_DLLPRIVATE void ImplDrawSpin(vcl::RenderContext& rRenderContext, bool bDrawPrev = true, bool bDrawNext = true);
+ SVT_DLLPRIVATE void ImplDrawDate(vcl::RenderContext& rRenderContext, long nX, long nY,
+ sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear,
+ DayOfWeek eDayOfWeek, bool bBack = true,
+ bool bOther = false, sal_uLong nToday = 0);
+ SVT_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext, bool bPaint = false);
SVT_DLLPRIVATE void ImplUpdateDate( const Date& rDate );
SVT_DLLPRIVATE void ImplUpdateSelection( IntDateSet* pOld );
SVT_DLLPRIVATE void ImplMouseSelect( const Date& rDate, sal_uInt16 nHitTest,