#include <imenuman.h>
Public Types |
|
enum |
RightClickContext { kNonePressed, kShiftPressed, kAltPressed, kControlPressed, kShiftAndAltPressed, kShiftAndControlPressed, kControlAndAltPressed, kShiftAndAltAndControlPressed } |
Public Member Functions |
|
virtual bool | AddQuadMenu (IQuadMenu *pMenu, const MCHAR *pName)=0 |
virtual void | SetMenu (int index, IQuadMenu *pMenu, const MCHAR *pName)=0 |
virtual void | RemoveMenu (int index)=0 |
virtual int | MenuCount ()=0 |
virtual IQuadMenu * | GetMenu (int index)=0 |
virtual int | GetCurrentMenuIndex ()=0 |
virtual void | SetCurrentMenuIndex (int index)=0 |
virtual bool | GetShowAllQuads (int index)=0 |
virtual void | SetShowAllQuads (int index, bool showAll)=0 |
virtual RightClickContext | GetRightClickContext ()=0 |
virtual IQuadMenu * | GetRightClickMenu (RightClickContext context)=0 |
virtual void | SetRightClickMenu (RightClickContext context, IQuadMenu *pMenu)=0 |
virtual int | FindMenu (IQuadMenu *pMenu)=0 |
virtual IQuadMenu * | FindMenuByTitle (const MCHAR *pTitle)=0 |
virtual bool AddQuadMenu | ( | IQuadMenu * | pMenu, |
const MCHAR * | pName | ||
) | [pure virtual] |
virtual void SetMenu | ( | int | index, |
IQuadMenu * | pMenu, | ||
const MCHAR * | pName | ||
) | [pure virtual] |
virtual void RemoveMenu | ( | int | index | ) | [pure virtual] |
virtual int MenuCount | ( | ) | [pure virtual] |
virtual IQuadMenu* GetMenu | ( | int | index | ) | [pure virtual] |
virtual int GetCurrentMenuIndex | ( | ) | [pure virtual] |
virtual void SetCurrentMenuIndex | ( | int | index | ) | [pure virtual] |
virtual bool GetShowAllQuads | ( | int | index | ) | [pure virtual] |
virtual void SetShowAllQuads | ( | int | index, |
bool | showAll | ||
) | [pure virtual] |
virtual RightClickContext GetRightClickContext | ( | ) | [pure virtual] |
virtual IQuadMenu* GetRightClickMenu | ( | RightClickContext | context | ) | [pure virtual] |
virtual void SetRightClickMenu | ( | RightClickContext | context, |
IQuadMenu * | pMenu | ||
) | [pure virtual] |
virtual int FindMenu | ( | IQuadMenu * | pMenu | ) | [pure virtual] |
virtual IQuadMenu* FindMenuByTitle | ( | const MCHAR * | pTitle | ) | [pure virtual] |