diff options
author | Antonio Fernandez <antonio.fernandez@aentos.es> | 2012-09-10 15:29:46 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:47 +0100 |
commit | 44192ffba03ffe5b1f387f90893dc0ca22bc8762 (patch) | |
tree | 84bf406849a935ec9e338abca8fd0d6a50b0203d /vcl/inc/unx/gtk/gtkframe.hxx | |
parent | e935a8da3c6e5d790f5ddc3a45faf1297d1f62f1 (diff) |
Menu is now shown/hidden when needed.
Change-Id: I4a5d155918f7147c3c2933fedad96d959accca61
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index 0f24b34d0355..3c7c10614271 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -212,6 +212,9 @@ class GtkSalFrame : public SalFrame GdkRegion* m_pRegion; #endif + SalMenu* m_pSalMenu; + sal_uInt32 m_nWatcherId; + void Init( SalFrame* pParent, sal_uLong nStyle ); void Init( SystemParentData* pSysData ); void InitCommon(); @@ -337,7 +340,9 @@ public: virtual void SetTitle( const rtl::OUString& rTitle ); virtual void SetIcon( sal_uInt16 nIcon ); virtual void SetMenu( SalMenu *pSalMenu ); + virtual SalMenu* GetMenu( void ); virtual void DrawMenuBar(); + void SetWatcherId( sal_uInt32 watcherId ); virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle ); // Before the window is visible, a resize event |