imenuman.h File Reference
 
 
 
imenuman.h File Reference

This reference page is linked to from the following overview topics: IMenuBarContext.


#include "iMenus.h"

File Description

Abstract classes for the Menu Manager.

Classes

class   IMenuContext
  Represents the interface to the various menu types such as MenuBar, QuadMenus, and right-click Popup Menus. More...
class   IMenuBarContext
  This abstract class represents an interface for a menu bar context. More...
class   IQuadMenuContext
  This abstract class represents the interface for a quad menu bar context. More...
class   IMenuManager
  Used for managing all menus To get an interface for calling the methods of this class use Interface::GetMenuManager(). More...
class   IMenuManagerExtension
  Extension class for IMenuManager, can be accessed by calling GetCOREInterface()->GetMenuManager() and downcasting to this interface. More...

Defines

#define  MENU_MGR_INTERFACE   Interface_ID(0xadc20bd, 0x7491741d)
  Interface ID for to get the interface for class IMenuManager.

Typedefs

typedef int  MenuContextId
  Type IDs for various Menu Contexts.

Enumerations

enum   MenuContextType { kMenuContextMenuBar = 0, kMenuContextQuadMenu, kMenuContextPopupMenu }
  Enumerator to determine the menu type. More...

Variables

const MenuContextId  kMainMenuBar = 1
const MenuContextId  kViewportQuad = 2
const MenuContextId  kSchematicViewQuad = 3
const MenuContextId  kIReshadeQuad = 4
const MenuContextId  kIUVWUnwrapQuad = 5
const MenuContextId  kTrackViewQuad = 6
const MenuContextId  kTrackViewMenuBar = 7
const MenuContextId  kSchematicViewMenuBar = 8
const MenuContextId  kMaterialEditorMenuBar = 9
const MenuContextId  kTrackViewRetimerQuad = 10
const DWORD  kMenuMenuBar = (1 << 0)
const DWORD  kMenuQuadMenu = (1 << 1)

Define Documentation

#define MENU_MGR_INTERFACE   Interface_ID(0xadc20bd, 0x7491741d)

Interface ID for to get the interface for class IMenuManager.


Typedef Documentation

typedef int MenuContextId

Type IDs for various Menu Contexts.


Enumeration Type Documentation

Enumerator to determine the menu type.

Can be a Menu Bar, a Quad Menu or a Popup Menu.

Enumerator:
kMenuContextMenuBar 
kMenuContextQuadMenu 
kMenuContextPopupMenu 

Variable Documentation

const DWORD kMenuMenuBar = (1 << 0)
const DWORD kMenuQuadMenu = (1 << 1)