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
virtual ~SalMenu ()
 
virtual bool VisibleMenuBar ()=0
 
virtual void ShowMenuBar (bool)
 
virtual void InsertItem (SalMenuItem *pSalMenuItem, unsigned nPos)=0
 
virtual void RemoveItem (unsigned nPos)=0
 
virtual void SetSubMenu (SalMenuItem *pSalMenuItem, SalMenu *pSubMenu, unsigned nPos)=0
 
virtual void SetFrame (const SalFrame *pFrame)=0
 
virtual void SetItemBits (unsigned, MenuItemBits)
 
virtual void CheckItem (unsigned nPos, bool bCheck)=0
 
virtual void EnableItem (unsigned nPos, bool bEnable)=0
 
virtual void SetItemText (unsigned nPos, SalMenuItem *pSalMenuItem, const OUString &rText)=0
 
virtual void SetItemImage (unsigned nPos, SalMenuItem *pSalMenuItem, const Image &rImage)=0
 
virtual void SetAccelerator (unsigned nPos, SalMenuItem *pSalMenuItem, const vcl::KeyCode &rKeyCode, const OUString &rKeyName)=0
 
virtual void GetSystemMenuData (SystemMenuData *pData)=0
 
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::WinSalMenu ( )

◆ ~WinSalMenu()

virtual WinSalMenu::~WinSalMenu ( )
overridevirtual

Member Function Documentation

◆ CheckItem()

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

Implements SalMenu.

◆ EnableItem()

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

Implements SalMenu.

◆ GetSystemMenuData()

virtual void WinSalMenu::GetSystemMenuData ( SystemMenuData pData)
overridevirtual

Implements SalMenu.

◆ InsertItem()

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

Implements SalMenu.

◆ RemoveItem()

virtual void WinSalMenu::RemoveItem ( unsigned  nPos)
overridevirtual

Implements SalMenu.

◆ SetAccelerator()

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

Implements SalMenu.

◆ SetFrame()

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

Implements SalMenu.

◆ SetItemImage()

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

Implements SalMenu.

◆ SetItemText()

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

Implements SalMenu.

◆ SetSubMenu()

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

Implements SalMenu.

◆ VisibleMenuBar()

virtual bool WinSalMenu::VisibleMenuBar ( )
overridevirtual

Implements SalMenu.

Member Data Documentation

◆ mbMenuBar

bool WinSalMenu::mbMenuBar

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

◆ mhMenu

HMENU WinSalMenu::mhMenu

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

◆ mhWnd

HWND WinSalMenu::mhWnd

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

◆ mpParentMenu

WinSalMenu* WinSalMenu::mpParentMenu

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


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