From 60c0874227201310c099fb717c0a665dbcf5bb33 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 18 Nov 2019 13:33:31 +0100 Subject: tdf#84183 Give infobar close btn some 'clicked' state Slightly smaller cross when the button is clicked on to have some feedback for the user Change-Id: If0486319e9816378b2011bbb366b4c577c1ad84a Reviewed-on: https://gerrit.libreoffice.org/83087 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- include/vcl/button.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index c39c466d1afe..b0b2884c9ad0 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -47,8 +47,6 @@ private: Button (const Button &) = delete; Button & operator= (const Button &) = delete; public: - SAL_DLLPRIVATE DrawButtonFlags ImplGetButtonState() const; - SAL_DLLPRIVATE DrawButtonFlags& ImplGetButtonState(); SAL_DLLPRIVATE DrawTextFlags ImplGetTextStyle( WinBits nWinStyle, DrawFlags nDrawFlags ); SAL_DLLPRIVATE void ImplDrawAlignedImage(OutputDevice* pDev, Point& rPos, Size& rSize, sal_uLong nImageSep, @@ -81,6 +79,9 @@ public: bool HasImage() const; void SetImageAlign( ImageAlign eAlign ); ImageAlign GetImageAlign() const; + DrawButtonFlags GetButtonState() const; + DrawButtonFlags& GetButtonState(); + bool IsSmallSymbol() const; void SetSmallSymbol(); -- cgit