LibreOffice Module vcl (master) 1
Classes | Namespaces | Typedefs | Enumerations | Variables
menu.hxx File Reference
#include <memory>
#include <string_view>
#include <vcl/vclenum.hxx>
#include <tools/link.hxx>
#include <tools/long.hxx>
#include <vcl/dllapi.h>
#include <vcl/keycod.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/vclreferencebase.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
 
struct  MenuBarButtonCallbackArg
 
class  MenuBar
 
class  PopupMenu
 

Namespaces

namespace  tools
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::awt
 
namespace  com::sun::star::accessibility
 
namespace  vcl
 
namespace  o3tl
 

Typedefs

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

Enumerations

enum class  PopupMenuFlags {
  NONE = 0x0000 ,
  ExecuteDown = 0x0001 ,
  ExecuteUp = 0x0002 ,
  ExecuteRight = 0x0008 ,
  NoMouseUpClose = 0x0010
}
 
enum class  MenuFlags {
  NONE = 0x0000 ,
  NoAutoMnemonics = 0x0001 ,
  HideDisabledEntries = 0x0002 ,
  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

◆ MenuUserDataReleaseFunction

typedef void(* MenuUserDataReleaseFunction) (void *)

Definition at line 113 of file menu.hxx.

Enumeration Type Documentation

◆ MenuFlags

enum class MenuFlags
strong
Enumerator
NONE 
NoAutoMnemonics 
HideDisabledEntries 
AlwaysShowDisabledEntries 

Definition at line 85 of file menu.hxx.

◆ PopupMenuFlags

enum class PopupMenuFlags
strong
Enumerator
NONE 
ExecuteDown 
ExecuteUp 
ExecuteRight 
NoMouseUpClose 

Definition at line 71 of file menu.hxx.

Variable Documentation

◆ ITEMPOS_INVALID

constexpr auto ITEMPOS_INVALID = 0xFFFF
constexpr

◆ MENU_APPEND

constexpr sal_uInt16 MENU_APPEND = 0xFFFF
constexpr

◆ MENU_ITEM_NOTFOUND

constexpr sal_uInt16 MENU_ITEM_NOTFOUND = 0xFFFF
constexpr

Definition at line 68 of file menu.hxx.

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