diff options
Diffstat (limited to 'svtools')
23 files changed, 25 insertions, 25 deletions
diff --git a/svtools/inc/roadmap.hxx b/svtools/inc/roadmap.hxx index b4b75782e17c..07766378882b 100644 --- a/svtools/inc/roadmap.hxx +++ b/svtools/inc/roadmap.hxx @@ -52,7 +52,7 @@ namespace svt protected: RoadmapImpl* m_pImpl; // Window overridables - void Paint( const Rectangle& _rRect ) SAL_OVERRIDE; + void Paint( vcl::RenderContext& rRenderContext, const Rectangle& _rRect ) SAL_OVERRIDE; void implInit(); public: diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index e371f5c993fe..30f71ddff50a 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -612,7 +612,7 @@ void BrowseBox::Resize() -void BrowseBox::Paint( const Rectangle& rRect ) +void BrowseBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { // initializations diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx index 41635c240e57..2f6cc7eab92a 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -318,7 +318,7 @@ void BrowserDataWin::DataChanged( const DataChangedEvent& rDCEvt ) } -void BrowserDataWin::Paint( const Rectangle& rRect ) +void BrowserDataWin::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { if ( !nUpdateLock && GetUpdateMode() ) { diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx index ed739fbf1b76..a821ef8fc501 100644 --- a/svtools/source/brwbox/datwin.hxx +++ b/svtools/source/brwbox/datwin.hxx @@ -141,7 +141,7 @@ public: virtual void dispose() SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; - virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; + virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE; virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE; virtual void Command( const CommandEvent& rEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rEvt ) SAL_OVERRIDE; diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 111f6c878aae..3d560d69f5b9 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -300,7 +300,7 @@ namespace svt } - void CheckBoxControl::Paint(const Rectangle& rClientRect) + void CheckBoxControl::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rClientRect) { Control::Paint(rClientRect); if (HasFocus()) diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx index 6ed9becbdb4b..4bdb4bc87115 100644 --- a/svtools/source/contnr/ivctrl.cxx +++ b/svtools/source/contnr/ivctrl.cxx @@ -121,7 +121,7 @@ OUString SvtIconChoiceCtrl::GetEntryText( SvxIconChoiceCtrlEntry* pEntry, bool ) return pEntry->GetText(); } -void SvtIconChoiceCtrl::Paint( const Rectangle& rRect ) +void SvtIconChoiceCtrl::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { _pImp->Paint( rRect ); } diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx index f1504b35b233..6237afa993c6 100644 --- a/svtools/source/contnr/simptabl.cxx +++ b/svtools/source/contnr/simptabl.cxx @@ -190,7 +190,7 @@ void SvSimpleTable::SetTabs(const long* pTabs, MapUnit eMapUnit) SvHeaderTabListBox::SetTabs(pTabs,eMapUnit); } -void SvSimpleTable::Paint( const Rectangle& rRect ) +void SvSimpleTable::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { SvHeaderTabListBox::Paint(rRect ); diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index e44f25c2c566..f5e603cf34f7 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -537,7 +537,7 @@ void SvHeaderTabListBox::dispose() -void SvHeaderTabListBox::Paint( const Rectangle& rRect ) +void SvHeaderTabListBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { if ( m_bFirstPaint ) { diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index ab4028684ee9..aecf1f7746c4 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -2568,7 +2568,7 @@ void SvTreeListBox::AdjustEntryHeightAndRecalc( const vcl::Font& rFont ) RecalcViewData(); } -void SvTreeListBox::Paint( const Rectangle& rRect ) +void SvTreeListBox::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { Control::Paint( rRect ); if( nTreeFlags & SvTreeFlags::RECALCTABS ) diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 89566f37844f..6fca550f6f0a 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -1631,7 +1631,7 @@ void Calendar::KeyInput( const KeyEvent& rKEvt ) -void Calendar::Paint( const Rectangle& ) +void Calendar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& ) { ImplDraw( true ); } diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx index 311003eeb5f2..bb5341661885 100644 --- a/svtools/source/control/headbar.cxx +++ b/svtools/source/control/headbar.cxx @@ -992,7 +992,7 @@ void HeaderBar::Tracking( const TrackingEvent& rTEvt ) -void HeaderBar::Paint( const Rectangle& rRect ) +void HeaderBar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) { if ( mnBorderOff1 || mnBorderOff2 ) { diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 3d15ae367178..1fbb266ed34c 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -556,7 +556,7 @@ namespace svt } - void ORoadmap::Paint( const Rectangle& _rRect ) + void ORoadmap::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& _rRect ) { Control::Paint( _rRect ); diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 5536a209c52c..28f57db3686b 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2158,7 +2158,7 @@ void Ruler::Tracking( const TrackingEvent& rTEvt ) ImplDrag( rTEvt.GetMouseEvent().GetPosPixel() ); } -void Ruler::Paint( const Rectangle& ) +void Ruler::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& ) { ImplDraw(); diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index c96cf428e4f5..294d9240575e 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -162,7 +162,7 @@ private: virtual void dispose() SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Tracking( const TrackingEvent& rTEvt ) SAL_OVERRIDE; - virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; + virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect ) SAL_OVERRIDE; Point maStartPos; long mnStartWidth; @@ -221,7 +221,7 @@ void ImplTabSizer::Tracking( const TrackingEvent& rTEvt ) ImplTrack( OutputToScreenPixel( rTEvt.GetMouseEvent().GetPosPixel() ) ); } -void ImplTabSizer::Paint( const Rectangle& ) +void ImplTabSizer::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& ) { DecorationView aDecoView(this); Rectangle aOutputRect(Point(0, 0), GetOutputSizePixel()); @@ -1223,7 +1223,7 @@ private: } // anonymous namespace -void TabBar::Paint( const Rectangle& rect ) +void TabBar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rect ) { if(IsNativeControlSupported(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL)) DrawNativeControl(CTRL_WINDOW_BACKGROUND,PART_ENTIRE_CONTROL,rect, diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index af6805cb22e9..40f3422f1d0f 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -1483,7 +1483,7 @@ void ToolbarMenu::implPaint( ToolbarMenuEntry* pThisOnly, bool bHighlighted ) -void ToolbarMenu::Paint( const Rectangle& ) +void ToolbarMenu::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& ) { SetFillColor( GetSettings().GetStyleSettings().GetMenuColor() ); diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index ca07369dc0c3..b39d8ad7919c 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1415,7 +1415,7 @@ void ValueSet::Command( const CommandEvent& rCommandEvent ) Control::Command( rCommandEvent ); } -void ValueSet::Paint( const Rectangle& ) +void ValueSet::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& ) { if ( GetStyle() & WB_FLATVALUESET ) { diff --git a/svtools/source/hatchwindow/ipwin.cxx b/svtools/source/hatchwindow/ipwin.cxx index 0d55780c2a6e..f0787a15d14f 100644 --- a/svtools/source/hatchwindow/ipwin.cxx +++ b/svtools/source/hatchwindow/ipwin.cxx @@ -612,7 +612,7 @@ void SvResizeWindow::Resize() |* |* Description *************************************************************************/ -void SvResizeWindow::Paint( const Rectangle & /*rRect*/ ) +void SvResizeWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle & /*rRect*/ ) { m_aResizer.Draw( this ); } diff --git a/svtools/source/hatchwindow/ipwin.hxx b/svtools/source/hatchwindow/ipwin.hxx index 534f0d4a6ac6..c706caed5260 100644 --- a/svtools/source/hatchwindow/ipwin.hxx +++ b/svtools/source/hatchwindow/ipwin.hxx @@ -90,7 +90,7 @@ public: virtual void MouseButtonDown( const MouseEvent & rEvt ) SAL_OVERRIDE; virtual void KeyInput( const KeyEvent & rEvt ) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; - virtual void Paint( const Rectangle & ) SAL_OVERRIDE; + virtual void Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle & ) SAL_OVERRIDE; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx index 2b819033d610..fad922d5baef 100644 --- a/svtools/source/table/tabledatawindow.cxx +++ b/svtools/source/table/tabledatawindow.cxx @@ -60,7 +60,7 @@ namespace svt { namespace table Window::dispose(); } - void TableDataWindow::Paint( const Rectangle& rUpdateRect ) + void TableDataWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& rUpdateRect ) { m_rTableControl.doPaintContent( rUpdateRect ); } diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx index d5ce17192b11..1da914e79622 100644 --- a/svtools/source/table/tabledatawindow.hxx +++ b/svtools/source/table/tabledatawindow.hxx @@ -55,7 +55,7 @@ namespace svt { namespace table inline const Link& GetSelectHdl() const { return m_aSelectHdl; } // Window overridables - virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; + virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE; virtual void MouseMove( const MouseEvent& rMEvt) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt) SAL_OVERRIDE; virtual void MouseButtonUp( const MouseEvent& rMEvt) SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx index 58b59e903cfa..47aa13398ddf 100644 --- a/svtools/source/toolpanel/paneltabbar.cxx +++ b/svtools/source/toolpanel/paneltabbar.cxx @@ -1044,7 +1044,7 @@ namespace svt } - void PanelTabBar::Paint( const Rectangle& i_rRect ) + void PanelTabBar::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& i_rRect ) { m_pImpl->EnsureItemsCache(); diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx index 60b9d06cd2c0..c82584cba903 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.cxx +++ b/svtools/source/toolpanel/toolpaneldrawer.cxx @@ -56,7 +56,7 @@ namespace svt } - void DrawerVisualization::Paint( const Rectangle& i_rBoundingBox ) + void DrawerVisualization::Paint( vcl::RenderContext& /*rRenderContext*/, const Rectangle& i_rBoundingBox ) { Window::Paint( i_rBoundingBox ); m_rDrawer.Paint(); diff --git a/svtools/source/toolpanel/toolpaneldrawer.hxx b/svtools/source/toolpanel/toolpaneldrawer.hxx index b13a12e34629..55faf3ec80a5 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawer.hxx @@ -49,7 +49,7 @@ namespace svt protected: // Window overridables - virtual void Paint( const Rectangle& i_rBoundingBox ) SAL_OVERRIDE; + virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& i_rBoundingBox ) SAL_OVERRIDE; private: ToolPanelDrawer& m_rDrawer; |