diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-02-15 12:00:46 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-02-15 12:00:46 +0200 |
commit | c301199804f5beb7ef803abfa84e04d9351efb3f (patch) | |
tree | 991cfa7a033d7fc76e5ea76ca2a10363b1bc5271 /vcl/inc/headless | |
parent | bc7110a06be5304e00f8ed94c278f5b9a476c002 (diff) | |
parent | 71fb61b77a548ac8b0b499f7c6039e197c994842 (diff) |
Merge branch 'feature/android'
Diffstat (limited to 'vcl/inc/headless')
-rw-r--r-- | vcl/inc/headless/svpframe.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx index 217dccc809c7..2165c5d89fc8 100644 --- a/vcl/inc/headless/svpframe.hxx +++ b/vcl/inc/headless/svpframe.hxx @@ -41,9 +41,9 @@ class SvpSalGraphics; class SvpSalFrame : public SalFrame, public SvpElement { SvpSalInstance* m_pInstance; - SvpSalFrame* m_pParent; // pointer to parent frame + SvpSalFrame* m_pParent; // pointer to parent frame std::list< SvpSalFrame* > m_aChildren; // List of child frames - sal_uLong m_nStyle; + sal_uLong m_nStyle; bool m_bVisible; long m_nMinWidth; long m_nMinHeight; @@ -65,7 +65,7 @@ public: void GetFocus(); void LoseFocus(); - void PostPaint() const; + void PostPaint(bool bImmediate) const; // SvpElement virtual const basebmp::BitmapDeviceSharedPtr& getDevice() const { return m_aFrame; } @@ -74,7 +74,7 @@ public: virtual SalGraphics* GetGraphics(); virtual void ReleaseGraphics( SalGraphics* pGraphics ); - virtual sal_Bool PostEvent( void* pData ); + virtual sal_Bool PostEvent( void* pData ); virtual void SetTitle( const rtl::OUString& rTitle ); virtual void SetIcon( sal_uInt16 nIcon ); @@ -125,6 +125,10 @@ public: /*TODO: functional implementation */ virtual void SetScreenNumber( unsigned int nScreen ) { (void)nScreen; } virtual void SetApplicationID(const rtl::OUString &rApplicationID) { (void) rApplicationID; } + bool IsVisible() { return m_bVisible; } + + static SvpSalFrame* GetFocusFrame() { return s_pFocusFrame; } + }; #endif // _SVP_SVPFRAME_HXX |