]> git.saurik.com Git - wxWidgets.git/commitdiff
we are always compositing on the supported OS versions, add transparency for individu...
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 11 Aug 2006 04:04:36 +0000 (04:04 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 11 Aug 2006 04:04:36 +0000 (04:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/window.h

index 363767bdfcce6b6c7124ad3f0a36a320e3d961fe..95e240d4db1b13c1eeb38a6f008ba2baafa5033c 100644 (file)
@@ -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 ;