LibreOffice Module vcl (master)  1
Classes | Namespaces | Typedefs | Enumerations | Variables
menu.hxx File Reference
#include <memory>
#include <vcl/vclenum.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <vcl/keycod.hxx>
#include <vcl/vclreferencebase.hxx>
#include <vcl/vclevent.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <list>
Include dependency graph for menu.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< PopupMenuFlags >
 
struct  o3tl::typed_flags< MenuFlags >
 
struct  ImplMenuDelData
 
class  Menu
 
class  MenuBar
 
struct  MenuBar::MenuBarButtonCallbackArg
 
class  PopupMenu
 

Namespaces

 tools
 
 com::sun::star::accessibility
 
 com::sun::star::frame
 
 vcl
 
 o3tl
 

Typedefs

typedef OutputDevice vcl::RenderContext
 
typedef void(* MenuUserDataReleaseFunction) (void *)
 

Enumerations

enum  PopupMenuFlags {
  PopupMenuFlags::NONE = 0x0000,
  PopupMenuFlags::ExecuteDown = 0x0001,
  PopupMenuFlags::ExecuteUp = 0x0002,
  PopupMenuFlags::ExecuteLeft = 0x0004,
  PopupMenuFlags::ExecuteRight = 0x0008,
  PopupMenuFlags::NoMouseUpClose = 0x0010,
  PopupMenuFlags::NoHorzPlacement = 0x0020
}
 
enum  MenuFlags {
  MenuFlags::NONE = 0x0000,
  MenuFlags::NoAutoMnemonics = 0x0001,
  MenuFlags::HideDisabledEntries = 0x0002,
  MenuFlags::AlwaysShowDisabledEntries = 0x0004
}
 

Variables

constexpr sal_uInt16 MENU_APPEND = 0xFFFF
 
constexpr sal_uInt16 MENU_ITEM_NOTFOUND = 0xFFFF
 
constexpr auto ITEMPOS_INVALID = 0xFFFF
 Invalid menu item id. More...
 

Typedef Documentation

typedef void(* MenuUserDataReleaseFunction) (void *)

Definition at line 116 of file menu.hxx.

Enumeration Type Documentation

enum MenuFlags
strong
Enumerator
NONE 
NoAutoMnemonics 
HideDisabledEntries 
AlwaysShowDisabledEntries 

Definition at line 88 of file menu.hxx.

enum PopupMenuFlags
strong
Enumerator
NONE 
ExecuteDown 
ExecuteUp 
ExecuteLeft 
ExecuteRight 
NoMouseUpClose 
NoHorzPlacement 

Definition at line 67 of file menu.hxx.

Variable Documentation

constexpr auto ITEMPOS_INVALID = 0xFFFF
constexpr sal_uInt16 MENU_APPEND = 0xFFFF
constexpr sal_uInt16 MENU_ITEM_NOTFOUND = 0xFFFF

Definition at line 64 of file menu.hxx.

Referenced by Menu::GetItemId(), Menu::GetItemPos(), ImplCopyItem(), and Menu::InsertItem().