From: Stefan Csomor Date: Fri, 11 Aug 2006 04:04:36 +0000 (+0000) Subject: we are always compositing on the supported OS versions, add transparency for individu... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/29a7b4d041fa15b6b45b70b7e4ce2151a9673820 we are always compositing on the supported OS versions, add transparency for individual controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/window.h b/include/wx/mac/carbon/window.h index 363767bdfc..95e240d4db 100644 --- a/include/wx/mac/carbon/window.h +++ b/include/wx/mac/carbon/window.h @@ -121,6 +121,10 @@ public: virtual WXWidget GetHandle() const; + virtual bool SetTransparent(wxByte alpha); + virtual bool CanSetTransparent(); + virtual wxByte GetTransparent() const ; + #if WXWIN_COMPATIBILITY_2_4 bool GetTransparentBackground() const { return m_backgroundTransparent; } void SetTransparent(bool t = true) { m_backgroundTransparent = t; } @@ -290,6 +294,7 @@ protected: // insets of the mac control from the wx top left corner wxPoint m_macTopLeftInset ; wxPoint m_macBottomRightInset ; + wxByte m_macAlpha ; wxScrollBar* m_hScrollBar ; wxScrollBar* m_vScrollBar ;