LibreOffice Module vcl (master)  1
Public Member Functions | Public Attributes | List of all members
WinSalMenu Class Reference

#include <salmenu.h>

Inheritance diagram for WinSalMenu:
[legend]
Collaboration diagram for WinSalMenu:
[legend]

Public Member Functions

 WinSalMenu ()
 
virtual ~WinSalMenu () override
 
virtual bool VisibleMenuBar () override
 
virtual void InsertItem (SalMenuItem *pSalMenuItem, unsigned nPos) override
 
virtual void RemoveItem (unsigned nPos) override
 
virtual void SetSubMenu (SalMenuItem *pSalMenuItem, SalMenu *pSubMenu, unsigned nPos) override
 
virtual void SetFrame (const SalFrame *pFrame) override
 
virtual void CheckItem (unsigned nPos, bool bCheck) override
 
virtual void EnableItem (unsigned nPos, bool bEnable) override
 
virtual void SetItemText (unsigned nPos, SalMenuItem *pSalMenuItem, const OUString &rText) override
 
virtual void SetItemImage (unsigned nPos, SalMenuItem *pSalMenuItem, const Image &rImage) override
 
virtual void SetAccelerator (unsigned nPos, SalMenuItem *pSalMenuItem, const vcl::KeyCode &rKeyCode, const OUString &rKeyName) override
 
virtual void GetSystemMenuData (SystemMenuData *pData) override
 
- Public Member Functions inherited from SalMenu
 SalMenu ()
 
virtual ~SalMenu ()
 
virtual void ShowMenuBar (bool)
 
virtual void SetItemBits (unsigned, MenuItemBits)
 
virtual bool ShowNativePopupMenu (FloatingWindow *pWin, const tools::Rectangle &rRect, FloatWinPopupFlags nFlags)
 
virtual void ShowCloseButton (bool bShow)
 
virtual bool AddMenuBarButton (const SalMenuButtonItem &)
 
virtual void RemoveMenuBarButton (sal_uInt16 nId)
 
virtual void Update ()
 
virtual bool CanGetFocus () const
 
virtual bool TakeFocus ()
 
virtual void ShowItem (unsigned nPos, bool bShow)
 
virtual tools::Rectangle GetMenuBarButtonRectPixel (sal_uInt16 i_nItemId, SalFrame *i_pReferenceFrame)
 
virtual int GetMenuBarHeight () const
 
virtual void ApplyPersona ()
 

Public Attributes

HMENU mhMenu
 
bool mbMenuBar
 
HWND mhWnd
 
WinSalMenumpParentMenu
 

Detailed Description

Definition at line 26 of file win/salmenu.h.

Constructor & Destructor Documentation

WinSalMenu::WinSalMenu ( )
virtual WinSalMenu::~WinSalMenu ( )
overridevirtual

Member Function Documentation

virtual void WinSalMenu::CheckItem ( unsigned  nPos,
bool  bCheck 
)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::EnableItem ( unsigned  nPos,
bool  bEnable 
)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::GetSystemMenuData ( SystemMenuData pData)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::InsertItem ( SalMenuItem pSalMenuItem,
unsigned  nPos 
)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::RemoveItem ( unsigned  nPos)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::SetAccelerator ( unsigned  nPos,
SalMenuItem pSalMenuItem,
const vcl::KeyCode rKeyCode,
const OUString &  rKeyName 
)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::SetFrame ( const SalFrame pFrame)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::SetItemImage ( unsigned  nPos,
SalMenuItem pSalMenuItem,
const Image rImage 
)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::SetItemText ( unsigned  nPos,
SalMenuItem pSalMenuItem,
const OUString &  rText 
)
overridevirtual

Implements SalMenu.

virtual void WinSalMenu::SetSubMenu ( SalMenuItem pSalMenuItem,
SalMenu pSubMenu,
unsigned  nPos 
)
overridevirtual

Implements SalMenu.

virtual bool WinSalMenu::VisibleMenuBar ( )
overridevirtual

Implements SalMenu.

Member Data Documentation

bool WinSalMenu::mbMenuBar

Definition at line 46 of file win/salmenu.h.

HMENU WinSalMenu::mhMenu

Definition at line 45 of file win/salmenu.h.

HWND WinSalMenu::mhWnd

Definition at line 47 of file win/salmenu.h.

WinSalMenu* WinSalMenu::mpParentMenu

Definition at line 48 of file win/salmenu.h.


The documentation for this class was generated from the following file: