diff options
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index a7633f29c109..1422c14e4165 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -472,11 +472,11 @@ public: // transparent background for selected or checked items in toolboxes etc. // + selection Color with a text color complementing the selection background // + rounded edge - static void DrawSelectionBackground(vcl::RenderContext& rRenderContext, vcl::Window& rWindow, + static void DrawSelectionBackground(vcl::RenderContext& rRenderContext, vcl::Window const & rWindow, const tools::Rectangle& rRect, sal_uInt16 nHighlight, bool bChecked, bool bDrawBorder, bool bDrawExtBorderOnly, Color* pSelectionTextColor = nullptr, long nCornerRadius = 0, - Color* pPaintColor = nullptr); + Color const * pPaintColor = nullptr); }; class VCL_DLLPUBLIC Window : public ::OutputDevice @@ -532,7 +532,7 @@ public: DECL_DLLPRIVATE_LINK( ImplHandleResizeTimerHdl, Timer*, void ); - SAL_DLLPRIVATE static void ImplInitAppFontData( vcl::Window* pWindow ); + SAL_DLLPRIVATE static void ImplInitAppFontData( vcl::Window const * pWindow ); SAL_DLLPRIVATE vcl::Window* ImplGetFrameWindow() const; SalFrame* ImplGetFrame() const; @@ -619,7 +619,7 @@ protected: SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows( bool bSysObjOnlySmaller = false ); SAL_DLLPRIVATE void PushPaintHelper(PaintHelper* pHelper, vcl::RenderContext& rRenderContext); - SAL_DLLPRIVATE void PopPaintHelper(PaintHelper* pHelper); + SAL_DLLPRIVATE void PopPaintHelper(PaintHelper const * pHelper); private: @@ -645,8 +645,8 @@ private: SAL_DLLPRIVATE void ImplInitResolutionSettings(); - SAL_DLLPRIVATE void ImplPointToLogic(vcl::RenderContext& rRenderContext, vcl::Font& rFont) const; - SAL_DLLPRIVATE void ImplLogicToPoint(vcl::RenderContext& rRenderContext, vcl::Font& rFont) const; + SAL_DLLPRIVATE void ImplPointToLogic(vcl::RenderContext const & rRenderContext, vcl::Font& rFont) const; + SAL_DLLPRIVATE void ImplLogicToPoint(vcl::RenderContext const & rRenderContext, vcl::Font& rFont) const; SAL_DLLPRIVATE bool ImplSysObjClip( const vcl::Region* pOldRegion ); SAL_DLLPRIVATE void ImplUpdateSysObjChildrenClip(); @@ -892,10 +892,10 @@ public: void NotifyAllChildren( DataChangedEvent& rDCEvt ); void SetPointFont(vcl::RenderContext& rRenderContext, const vcl::Font& rFont); - vcl::Font GetPointFont(vcl::RenderContext& rRenderContext) const; + vcl::Font GetPointFont(vcl::RenderContext const & rRenderContext) const; void SetZoomedPointFont(vcl::RenderContext& rRenderContext, const vcl::Font& rFont); - long GetDrawPixel( ::OutputDevice* pDev, long nPixels ) const; - vcl::Font GetDrawPixelFont( ::OutputDevice* pDev ) const; + long GetDrawPixel( ::OutputDevice const * pDev, long nPixels ) const; + vcl::Font GetDrawPixelFont( ::OutputDevice const * pDev ) const; void SetControlFont(); void SetControlFont( const vcl::Font& rFont ); |