CMGDK r49-rc2
函数 | 变量
K:/CMGDKv18/SDK/Include/hgl/gui/MenuItem.Attrib.H文件参考

浏览该文件的源代码。

函数

void CloseMenu ()
 关闭菜单
int GetIndex ()
 取当前菜单在上级菜单中的索引编号
MenuPage * GetSubMenuPage ()
void SetCaption ()
float GetWidth ()
float GetHeight ()
virtual bool Proc_MouseWheel (int, int, int)
virtual bool Proc_MouseLeftUp (int, int, uint)
virtual bool Proc_MouseLeftDoubleClick (int, int, uint)
virtual bool Proc_MouseMidDown (int, int, uint)
virtual bool Proc_MouseMidUp (int, int, uint)
virtual bool Proc_MouseMidDoubleClick (int, int, uint)
virtual bool Proc_MouseRightDown (int, int, uint)
virtual bool Proc_MouseRightUp (int, int, uint)
virtual bool Proc_MouseRightDoubleClick (int, int, uint)
virtual bool Proc_JoystickUp (uint)
virtual bool Proc_KeyUp (uint)
virtual bool Proc_Char (wchar_t)
virtual bool Proc_Event (int, void *)
virtual bool Proc_MouseLeftDown (int, int, unsigned __int32)
void DefaultDraw (GUIObject *)
void DefaultEnter (GUIObject *)
void DefaultLeave (GUIObject *)
void DefaultMeasureItem (GUIObject *, float &, float &)
void DefaultCheckDraw (GUIObject *)
void DefaultCheck (GUIObject *)

变量

WideString caption
 标题
MenuItem * SuperMenu
 上级菜单
MenuPage * menupage
 弹出的菜单页

函数文档

void CloseMenu ( ) [protected]

关闭菜单

void DefaultCheck ( GUIObject *  ) [protected]
void DefaultCheckDraw ( GUIObject *  ) [protected]
void DefaultDraw ( GUIObject *  ) [protected]
void DefaultEnter ( GUIObject *  ) [protected]
void DefaultLeave ( GUIObject *  ) [protected]
void DefaultMeasureItem ( GUIObject *  ,
float &  ,
float &   
) [protected]
float GetHeight ( ) [protected]
int GetIndex ( ) [protected]

取当前菜单在上级菜单中的索引编号

MenuPage* GetSubMenuPage ( ) [protected]
float GetWidth ( ) [protected]
virtual bool Proc_Char ( wchar_t  ) [protected, virtual]
virtual bool Proc_Event ( int  ,
void *   
) [protected, virtual]
virtual bool Proc_JoystickUp ( uint  ) [protected, virtual]
virtual bool Proc_KeyUp ( uint  ) [protected, virtual]
virtual bool Proc_MouseLeftDoubleClick ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseLeftDown ( int  ,
int  ,
unsigned  __int32 
) [protected, virtual]
virtual bool Proc_MouseLeftUp ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseMidDoubleClick ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseMidDown ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseMidUp ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseRightDoubleClick ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseRightDown ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseRightUp ( int  ,
int  ,
uint   
) [protected, virtual]
virtual bool Proc_MouseWheel ( int  ,
int  ,
int   
) [protected, virtual]
void SetCaption ( ) [protected]

变量文档

WideString caption

标题

MenuPage* menupage

弹出的菜单页

MenuItem* SuperMenu

上级菜单

 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义