X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f305456585c3f53b58f90803d25f1392eaedb36..b76786cccaeefdb906229b436d0371812b4b8038:/include/wx/mac/carbon/toplevel.h?ds=sidebyside diff --git a/include/wx/mac/carbon/toplevel.h b/include/wx/mac/carbon/toplevel.h index 3f3bdcb540..e479a11c41 100644 --- a/include/wx/mac/carbon/toplevel.h +++ b/include/wx/mac/carbon/toplevel.h @@ -55,6 +55,10 @@ public: virtual wxPoint GetClientAreaOrigin() const; + // Attracts the users attention to this window if the application is + // inactive (should be called when a background event occurs) + virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); + // implement base class pure virtuals virtual void Maximize(bool maximize = TRUE); virtual bool IsMaximized() const; @@ -66,9 +70,8 @@ public: virtual bool SetShape(const wxRegion& region); - virtual bool ShowFullScreen(bool WXUNUSED(show), long WXUNUSED(style) = wxFULLSCREEN_ALL) - { return FALSE; } - virtual bool IsFullScreen() const { return FALSE; } + virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) ; + virtual bool IsFullScreen() const ; // implementation from now on // -------------------------- @@ -92,14 +95,18 @@ public: virtual void MacSetBackgroundBrush( const wxBrush &brush ) ; bool MacUsesCompositing() { return m_macUsesCompositing; } + virtual void MacInstallTopLevelWindowEventHandler() ; void MacSetMetalAppearance( bool on ) ; + bool MacGetMetalAppearance() const ; void MacChangeWindowAttributes( wxUint32 attributesToSet , wxUint32 attributesToClear ) ; wxUint32 MacGetWindowAttributes() const ; WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; } + virtual void MacGetContentAreaInset( int &left , int &top , int &right , int &bottom ) ; + protected: // common part of all ctors void Init(); @@ -120,6 +127,7 @@ protected: WXWindow m_macWindow ; wxWindowMac* m_macFocus ; + void *m_macFullScreenData ; static wxTopLevelWindowMac *s_macDeactivateWindow; private :